Function rustc_data_structures::sync::parallel_guard
source ยท 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.