Function os1::_proc_yield
[−]
[src]
pub unsafe fn _proc_yield<'a>(q: Option<&'a mut ProcessQueue>)
The unsafe function that does the actual work of choosing the next process and switching to it.
NOTE: Processes should not call this function directly; they
should use process::proc_yield
instead.
NOTE: Interrupts should already be disabled here