Function utils::multithreading::get_thread_count

source ยท
pub fn get_thread_count() -> NonZeroUsize
Expand description

Get the number of worker threads to use.

Defaults to std::thread::available_parallelism unless set by set_thread_count.