Documentation
¶
Overview ¶
Package atomic contains extensions of "sync/atomic"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool int32
Bool is an atomically accessible boolean. Its initial state is false.
func (*Bool) TrySet ¶
TrySet atomically sets the bool to true and returns whether it was false before.
Click to show internal directories.
Click to hide internal directories.