reschedule

Function reschedule 

Source
pub fn reschedule()
Expand description

Triggers a reschedule immediately, when interrupts are enabled. This must be called after enqueueing a thread, or after waking up a thread, or putting the current thread to sleep.