Skip to main content

Module delayed_task_state

Module delayed_task_state 

Source

Structs§

DelayedTaskState
Atomic task-state transitions for delayed task scheduling.

Constants§

TASK_CANCELLED
TASK_PENDING

Functions§

cancel_task_state
Attempts to mark a task state as cancelled.
is_task_cancelled
Returns whether a task state has been cancelled.
start_task_state
Attempts to mark a task state as started.