Skip to main content

resume_task

Function resume_task 

Source
pub fn resume_task(id: TaskId) -> bool
Expand description

Resume a previously suspended task by ID.

Moves the task from blocked to ready queue and marks it Ready.

§Lock order

BLOCKED (rank 3) → release → LOCAL (rank 4). No nesting: BLOCKED is fully released before LOCAL is acquired.