Skip to main content

yield_now

Function yield_now 

Source
pub fn yield_now()
Expand description

Cooperatively gives up a timeslice to the OS scheduler, allowing other threads to run.