pub fn detect_worker_count() -> usize
Detect the number of parallel init workers based on system resources.