pub(crate) fn request_yield() {
        Self::with(|state| {
            state.has_yielded = true;
        });
    }
/// Tell the scheduler that the next context switch is an explicit yield requested by the
/// current task. Some schedulers use this as a hint to influence scheduling.
Tell the scheduler that the next context switch is an explicit yield requested by the
current task. Some schedulers use this as a hint to influence scheduling.
Tell the scheduler that the next context switch is an explicit yield requested by the current task . Some schedulers use this as a hint to influence scheduling .
pub(crate) fn request_yield() {
        Self::with(|state| {
            state.has_yielded = true;
        });
    }
pub ( crate ) fn request_yield ( ) { Self :: with ( | state | { state . has_yielded = true ; } ) ; }
Tell the scheduler that the next context switch is an explicit yield requested by the
current task.
Tell the scheduler that the next context switch is an explicit yield requested by the current task .