Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
Bool is an atomic Boolean. Deprecated: Use atomic.Bool instead since go1.19.
type Duration ¶
Duration is an atomic wrapper around time.Duration https://godoc.org/time#Duration
type Float32 ¶ added in v1.2.99
Float32 is an atomic wrapper around float32.
func NewFloat32 ¶ added in v1.2.99
NewFloat32 creates a Float32.
func (*Float32) Add ¶ added in v1.2.99
Add atomically adds to the wrapped float32 and returns the new value.
type Float64 ¶
Float64 is an atomic wrapper around float64.
type Int32 ¶
Int32 is an atomic wrapper around an int32. Deprecated: Use atomic.Int32 instead since go1.19.
type Int64 ¶
Int64 is an atomic wrapper around an int64. Deprecated: Use atomic.Int64 instead since go1.19.
type Uint32 ¶
Uint32 is an atomic wrapper around an uint32. Deprecated: Use atomic.Uint32 instead since go1.19.
type Uint64 ¶
Uint64 is an atomic wrapper around a uint64. Deprecated: Use atomic.Uint64 instead since go1.19.
type Value ¶
Value shadows the type of the same name from sync/atomic https://godoc.org/sync/atomic#Value