Type Alias rayon_core::StartHandler

source ·
pub(crate) type StartHandler = dyn Fn(usize) + Send + Sync;
Expand description

The type for a closure that gets invoked when a thread starts. The closure is passed the index of the thread on which it is invoked. Note that this same closure may be invoked multiple times in parallel.