[][src]Function nix::sched::sched_yield

pub fn sched_yield() -> Result<()>

Explicitly yield the processor to other threads.

Further reading