pub fn yield_now() {
    let waker = ExecutionState::with(|state| state.current().waker());
    waker.wake_by_ref();
    ExecutionState::request_yield();
    thread::switch();
}
/// Cooperatively gives up a timeslice to the Shuttle scheduler.
///
/// Some Shuttle schedulers use this as a hint to deprioritize the current thread in order for other
/// threads to make progress (e.g., in a spin loop).
Cooperatively gives up a timeslice to the Shuttle scheduler.
Some Shuttle schedulers use this as a hint to deprioritize the current thread in order for other
threads to make progress .
Cooperatively gives up a timeslice to the Shuttle scheduler . Some Shuttle schedulers use this as a hint to deprioritize the current thread in order for other threads to make progress .
pub fn yield_now() {
    let waker = ExecutionState::with(|state| state.current().waker());
    waker.wake_by_ref();
    ExecutionState::request_yield();
    thread::switch();
}
pub fn yield_now ( ) { let waker = ExecutionState :: with ( | state | state . current ( ) . waker ( ) ) ; waker . wake_by_ref ( ) ; ExecutionState :: request_yield ( ) ; thread :: switch ( ) ; }
Cooperatively gives up a timeslice to the Shuttle scheduler.
Cooperatively gives up a timeslice to the Shuttle scheduler .