Skip to main content

SYS_PROC_YIELD

Constant SYS_PROC_YIELD 

Source
pub const SYS_PROC_YIELD: usize = 301;
Expand description

Yield the CPU to the scheduler.

The current thread is placed at the back of the run queue and another thread is scheduled. Returns 0 when the thread is rescheduled.