Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtomicBool ¶
type AtomicBool uint32
func (*AtomicBool) CompareAndSwap ¶
func (b *AtomicBool) CompareAndSwap(old, new bool) (swapped bool)
func (*AtomicBool) Load ¶
func (b *AtomicBool) Load() bool
func (*AtomicBool) Store ¶
func (b *AtomicBool) Store(val bool)
type AtomicDuration ¶
func (*AtomicDuration) Add ¶
func (d *AtomicDuration) Add(duration time.Duration)
func (*AtomicDuration) Load ¶
func (d *AtomicDuration) Load() time.Duration
func (*AtomicDuration) Store ¶
func (d *AtomicDuration) Store(duration time.Duration)
type AtomicFloat64 ¶
type AtomicFloat64 uint64
func (*AtomicFloat64) Load ¶
func (b *AtomicFloat64) Load() float64
func (*AtomicFloat64) Store ¶
func (b *AtomicFloat64) Store(val float64)
type AtomicTime ¶
func (*AtomicTime) Load ¶
func (t *AtomicTime) Load() time.Time
func (*AtomicTime) Store ¶
func (t *AtomicTime) Store(tm time.Time)
Click to show internal directories.
Click to hide internal directories.