syscall::call

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