pub fn parallel_guard<R>(f: impl FnOnce(&ParallelGuard) -> R) -> RExpand 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) -> RThis gives access to a fresh parallel guard in the closure and will unwind any panics caught in it after the closure returns.