pub fn init_cpu_pool() -> Option<usize>Expand description
Builds the global rayon pool with an explicit width and an explicit QoS, so neither depends on which thread first touched rayon. Safe to call more than once and from either binary; a pool that already exists is left alone.
Returns the thread count the pool was built with, or None if the
global pool already existed.