pub fn yield_now(&self) {
        let inner = self.inner();
        unsafe {
            let flags = interrupt::disable_and_store();
            inner.proc.as_mut().unwrap().1.switch_to(&mut *inner.loop_context);
            interrupt::restore(flags);
        }
    }
/// Called by process running on this Processor.
/// Yield and reschedule.
///
/// The interrupt may be enabled.
Called by process running on this Processor.
Yield and reschedule.

The interrupt may be enabled.
Called by process running on this Processor . Yield and reschedule . The interrupt may be enabled .
pub fn yield_now(&self) {
        let inner = self.inner();
        unsafe {
            let flags = interrupt::disable_and_store();
            inner.proc.as_mut().unwrap().1.switch_to(&mut *inner.loop_context);
            interrupt::restore(flags);
        }
    }
pub fn yield_now ( & self ) { let inner = self . inner ( ) ; unsafe { let flags = interrupt :: disable_and_store ( ) ; inner . proc . as_mut ( ) . unwrap ( ) . 1 . switch_to ( & mut * inner . loop_context ) ; interrupt :: restore ( flags ) ; } }
Called by process running on this Processor.
Called by process running on this Processor .
&self
&self