atomic2

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2016 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool struct {
	// contains filtered or unexported fields
}

func (*Bool) CompareAndSwap

func (b *Bool) CompareAndSwap(o, n bool) bool

func (*Bool) Get

func (b *Bool) Get() bool

func (*Bool) Set

func (b *Bool) Set(v bool)

func (*Bool) Swap

func (b *Bool) Swap(v bool) bool

type Int64

type Int64 struct {
	// contains filtered or unexported fields
}

func (*Int64) Add

func (a *Int64) Add(v int64) int64

func (*Int64) CompareAndSwap

func (a *Int64) CompareAndSwap(o, n int64) bool

func (*Int64) Decr

func (a *Int64) Decr() int64

func (*Int64) Get

func (a *Int64) Get() int64

func (*Int64) Incr

func (a *Int64) Incr() int64

func (*Int64) Set

func (a *Int64) Set(v int64)

func (*Int64) Sub

func (a *Int64) Sub(v int64) int64

func (*Int64) Swap

func (a *Int64) Swap(v int64) int64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL