current_num_threads

Function current_num_threads 

Source
pub fn current_num_threads() -> usize
Expand description

Alias for rayon compatibility - returns the number of threads in the current pool

This is an alias for num_threads() that matches rayon’s API exactly. Useful for code migrating from rayon to scirs2_core.