Versions in this module Expand all Collapse all v1 v1.0.0 Dec 16, 2023 Changes in this version + type Bool struct + func NewBool(initial bool) Bool + func (b *Bool) CompareAndSwap(old, new bool) bool + func (b *Bool) Load() bool + func (b *Bool) Store(new bool) + func (b *Bool) Swap(new bool) bool + func (b *Bool) Toggle() bool + type Int32 struct + func NewInt32(v int32) Int32 + func (i *Int32) Add(delta int32) int32 + func (i *Int32) CompareAndSwap(old, new int32) bool + func (i *Int32) Dec() int32 + func (i *Int32) Inc() int32 + func (i *Int32) Load() int32 + func (i *Int32) Store(v int32) + func (i *Int32) Sub(delta int32) int32 + type NonBlockingLock interface + Release func() + TryLock func() bool + func NewNonBlockingLock() NonBlockingLock + type Uint32 struct + func NewUint32(v uint32) Uint32 + func (u *Uint32) Add(delta uint32) uint32 + func (u *Uint32) CompareAndSwap(old, new uint32) bool + func (u *Uint32) Inc() uint32 + func (u *Uint32) Load() uint32 + func (u *Uint32) Store(v uint32)