Function std::thread::yield_nowStable [-] [+] [src]

pub fn yield_now()

Cooperatively gives up a timeslice to the OS scheduler.