StructsΒ§
- Snapshot π
- Current state value.
- State π
- Transition
ToJoin πHandle Drop
EnumsΒ§
- Transition
ToIdle π - Transition
ToNotified πByRef - Transition
ToNotified πByVal - Transition
ToRunning π
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Β§
- Update
Result π