Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boolean ¶
type Boolean uint32
Boolean is a boolean value which can be accessed and modified atomically.
func (*Boolean) GetBoolAtomic ¶
GetBoolAtomic returns the value of b. The operation is atomic and read the value atomically.
func (*Boolean) SetBoolAtomic ¶
SetBoolAtomic sets the value of b. The operation is atomic and write the value atomically. If v is true, the value is set to 1. If v is false, the value is set to 0. The value of b is not guaranteed to be 1 or 0 if v is not true or false.
Click to show internal directories.
Click to hide internal directories.