fn set_global_registry<F>(
registry: F,
) -> Result<&'static Arc<Registry>, ThreadPoolBuildError>
Expand description
Starts the worker threads (if that has not already happened) by creating a registry with the given callback.
fn set_global_registry<F>(
registry: F,
) -> Result<&'static Arc<Registry>, ThreadPoolBuildError>
Starts the worker threads (if that has not already happened) by creating a registry with the given callback.