Function std::thread::yield_now1.0.0 [] [src]

pub fn yield_now()

Cooperatively gives up a timeslice to the OS scheduler.