Function std::thread::yield_now [] [src]

pub fn yield_now()
1.0.0

Cooperatively gives up a timeslice to the OS scheduler.