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

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

Explicitly yield the processor to other threads.

Further reading