Function rustc_data_structures::sync::parallel::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.