Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AtomicBool ¶
type AtomicBool struct {
// contains filtered or unexported fields
}
func NewAtomicBool ¶
func NewAtomicBool(value bool) *AtomicBool
func (*AtomicBool) Get ¶
func (a *AtomicBool) Get() bool
func (*AtomicBool) Set ¶
func (a *AtomicBool) Set(value bool)
func (*AtomicBool) Wait ¶ added in v0.0.24
func (a *AtomicBool) Wait(waitFor bool)
func (*AtomicBool) WaitWithContext ¶ added in v0.0.24
func (a *AtomicBool) WaitWithContext(ctx context.Context, waitFor bool) error
Click to show internal directories.
Click to hide internal directories.