package
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: Jan 14, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AtomicBool is an atomic boolean type with Wait/Notify support.
func (ab *Bool) Broadcast()
Broadcast wakes all goroutines waiting on the boolean.
Signal wakes one goroutine waiting on the boolean.
Wait blocks until the boolean is not equal to the given value.
Int32 is an atomic int32 type with Wait/Notify support.
func (ai *Int32) Broadcast()
Broadcast wakes all goroutines waiting on the int32.
func (ai *Int32) Signal()
Signal wakes one goroutine waiting on the int32.
Wait blocks until the int32 is not equal to the given value.
Int64 is an atomic int64 type with Wait/Notify support.
func (ai *Int64) Broadcast()
Broadcast wakes all goroutines waiting on the int64.
func (ai *Int64) Signal()
Signal wakes one goroutine waiting on the int64.
Wait blocks until the int64 is not equal to the given value.
Pointer is an atomic boolean type with Wait/Notify support.
Broadcast wakes all goroutines waiting on the pointer.
Signal wakes one goroutine waiting on the pointer.
Wait blocks until the pointer is not equal to the given value.
Uint32 is an atomic uint32 type with Wait/Notify support.
Broadcast wakes all goroutines waiting on the uint32.
Signal wakes one goroutine waiting on the uint32.
Wait blocks until the uint32 is not equal to the given value.
Uint64 is an atomic uint64 type with Wait/Notify support.
Broadcast wakes all goroutines waiting on the uint64.
Signal wakes one goroutine waiting on the uint64.
Wait blocks until the uint64 is not equal to the given value.
Uintptr is an atomic uintptr type with Wait/Notify support.
Broadcast wakes all goroutines waiting on the uintptr.
Signal wakes one goroutine waiting on the uintptr.
Wait blocks until the uintptr is not equal to the given value.
Value is an atomic interface{} type with Wait/Notify support.
func (av *Value) Broadcast()
Broadcast wakes all goroutines waiting on the value.
func (av *Value) Signal()
Signal wakes one goroutine waiting on the value.
Wait blocks until the value is not equal to the given value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.