pub fn parallel_guard<R>(f: impl FnOnce(&ParallelGuard) -> R) -> R
Expand description
This gives access to a fresh parallel guard in the closure and will unwind any panics caught in it after the closure returns.
pub fn parallel_guard<R>(f: impl FnOnce(&ParallelGuard) -> R) -> R
This gives access to a fresh parallel guard in the closure and will unwind any panics caught in it after the closure returns.