pub fn get_thread_count() -> usizeExpand description
Gets the number of available threads for parallel processing.
This function returns the number of threads that the system can execute simultaneously, which is useful for determining optimal parallelism levels.
ยงReturns
usize- The number of available threads, or 1 if the value cannot be determined.