Skip to main content

mark_blocked_and_wait

Function mark_blocked_and_wait 

Source
pub fn mark_blocked_and_wait(wait: impl FnOnce())
Expand description

Mark a Rayon worker thread as blocked. This triggers the deadlock handler if no other worker thread is active. Then wait for the user-specified condition.