Function nix::sched::sched_yield

source ยท
pub fn sched_yield() -> Result<()>
Expand description

Explicitly yield the processor to other threads.

Further reading