atomic2

package
v0.0.0-...-ac4ab60 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: MIT Imports: 1 Imported by: 0

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) Bool

func (b *Bool) Bool() bool

func (*Bool) CompareAndSwap

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

func (*Bool) IsFalse

func (b *Bool) IsFalse() bool

func (*Bool) IsTrue

func (b *Bool) IsTrue() bool

func (*Bool) Set

func (b *Bool) Set(v bool)

func (*Bool) Swap

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

type Int64

type Int64 int64

func (*Int64) Add

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

func (*Int64) AsInt

func (a *Int64) AsInt() int

func (*Int64) CompareAndSwap

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

func (*Int64) Decr

func (a *Int64) Decr() int64

func (*Int64) Incr

func (a *Int64) Incr() int64

func (*Int64) Int64

func (a *Int64) Int64() 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