Skip to main content

do_yield

Function do_yield 

Source
pub fn do_yield()
Expand description

Suspends the current thread and allow another thread to run. This thread may continue executing again immediately if there are no other threads available to run on the system.