Skip to main content

drain_post_switch_local

Function drain_post_switch_local 

Source
pub(super) fn drain_post_switch_local(
    cpu: &mut SchedulerCpu,
    take_drop: bool,
) -> Option<Arc<Task>>
Expand description

Post-switch cleanup using only LOCAL state: re-enqueue the previous task and optionally extract the task-to-drop for deferred deallocation.