Skip to main content

sched_yield

Function sched_yield 

Source
pub fn sched_yield() -> Result<usize>
Expand description

Yield the process’s time slice to the kernel

This function will return Ok(0) on success