Function loom::yield_now

source ·
pub fn yield_now()
Expand description

Yield the thread.

This enables concurrent algorithms that require other threads to make progress.