Documentation ¶
Index ¶
- func AddFloat32(addr *float32, delta float32) (new float32)
- func AddFloat64(addr *float64, delta float64) (new float64)
- func CasItem(p *unsafe.Pointer, old, new *DirectItem) bool
- func SubUint32(addr *uint32, delta uint32) (new uint32)
- func SubUint64(addr *uint64, delta uint64) (new uint64)
- func WaitGroupState(wg *sync.WaitGroup) (counter int32, wcounter uint32)
- func WaitGroupStopWait(wg *sync.WaitGroup)
- type DirectItem
- type WaitGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFloat32 ¶
func AddFloat64 ¶
AddFloat64 add delta to given address atomically
func WaitGroupState ¶
WaitGroupState返回 sync.WaitGroup 的状态,
func WaitGroupStopWait ¶
Types ¶
type DirectItem ¶ added in v0.2.0
func LoadItem ¶ added in v0.2.0
func LoadItem(p *unsafe.Pointer) *DirectItem
Click to show internal directories.
Click to hide internal directories.