nix::sched

Function sched_yield

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

Explicitly yield the processor to other threads.

Further reading