pub fn init_thread_pool(num_threads: usize) -> Result<(), ThreadPoolBuildError>
Initialize a rayon CPU thread pool with the given number of threads.
rayon