Function rayon_core::registry::init_global_registry

source ยท
pub(crate) fn init_global_registry<S>(
    builder: ThreadPoolBuilder<S>,
) -> Result<&'static Arc<Registry>, ThreadPoolBuildError>
where S: ThreadSpawn,
Expand description

Starts the worker threads (if that has not already happened) with the given builder.