sched_yield

Function sched_yield 

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

Explicitly yield the processor to other threads.

Further reading