Module state

Source

StructsΒ§

Snapshot πŸ”’
Current state value.
State πŸ”’
TransitionToJoinHandleDrop πŸ”’

EnumsΒ§

TransitionToIdle πŸ”’
TransitionToNotifiedByRef πŸ”’
TransitionToNotifiedByVal πŸ”’
TransitionToRunning πŸ”’

ConstantsΒ§

CANCELLED πŸ”’
The task has been forcibly cancelled.
COMPLETE πŸ”’
The task is complete.
INITIAL_STATE πŸ”’
State a task is initialized with.
JOIN_INTEREST πŸ”’
The join handle is still around.
JOIN_WAKER πŸ”’
A join handle waker has been set.
LIFECYCLE_MASK πŸ”’
Extracts the task’s lifecycle value from the state.
NOTIFIED πŸ”’
Flag tracking if the task has been pushed into a run queue.
REF_COUNT_MASK πŸ”’
Bits used by the ref count portion of the state.
REF_COUNT_SHIFT πŸ”’
Number of positions to shift the ref count.
REF_ONE πŸ”’
One ref count.
RUNNING πŸ”’
The task is currently being run.
STATE_MASK πŸ”’
All bits.

Type AliasesΒ§

UpdateResult πŸ”’