pub fn get_max_thread_count() -> usize