pub unsafe fn current_needs_reschedule_pinned() -> Result<bool, TaskError>Expand description
Tests the current CPU’s sticky reschedule request while migration is pinned.
§Safety
The caller must prevent migration until it has finished the decision that uses this snapshot. Sleeping-lock owner spinning normally satisfies this with a preemption guard.