Skip to main content

auto_threads

Function auto_threads 

Source
pub fn auto_threads() -> usize
Expand description

Worker threads of a search whose caller fixed none: this machine’s CPUs split between this process and the user’s other busy registered ones (auto_threads_for). Re-read at most once per [THREADS_EVERY], so a sweep follows the others starting and finishing their scans (crate::Threads::wait_turn).