pub fn configure_thread_pool(num_threads: usize) -> Result<()>Expand description
Configure the global Rayon thread pool.
Call this once at startup to control the number of worker threads. If not called, Rayon defaults to the number of logical CPUs.
ยงErrors
Returns an error if the thread pool has already been initialized.