pub(crate) static BLOCKED_TASKS: SpinLock<BTreeMap<TaskId, Arc<Task>>>Expand description
Blocked tasks registry — rank 3 in the total lock order.
BLOCKED_TASKS must be acquired after GLOBAL_SCHED_STATE and
SCHED_IDENTITY (write), and before LOCAL_SCHEDULERS[cpu].
It is never acquired from a path that already holds a LOCAL lock.
A task appears here if and only if its SchedState is Blocked.