Function reschedule

Source
fn reschedule<F>(f: F)
where F: FnMut(&mut dyn LocalRunQueue) -> ReschedAction,
Expand description

Do rescheduling by acting on the scheduling decision (ReschedAction) made by a user-given closure.

The closure makes the scheduling decision by taking the local runqueue has its input.