fn default() -> Self {
        let num_cpus = num_cpus::get();
        ThreadPool::new(
            num_cpus,
            std::cmp::max(num_cpus, num_cpus * 2),
            Duration::from_secs(60),
        )
    }
/// create default ThreadPool with the core pool size being equal to the number of cpus
/// and the max_size being twice the core size with a 60 second timeout
create default ThreadPool with the core pool size being equal to the number of cpus
and the max_size being twice the core size with a 60 second timeout
create default ThreadPool with the core pool size being equal to the number of cpus and the max_size being twice the core size with a 60 second timeout
fn default() -> Self {
        let num_cpus = num_cpus::get();
        ThreadPool::new(
            num_cpus,
            std::cmp::max(num_cpus, num_cpus * 2),
            Duration::from_secs(60),
        )
    }
fn default ( ) -> Self { let num_cpus = num_cpus :: get ( ) ; ThreadPool :: new ( num_cpus , std :: cmp :: max ( num_cpus , num_cpus * 2 ) , Duration :: from_secs ( 60 ) , ) }
create default ThreadPool with the core pool size being equal to the number of cpus
and the max_size being twice the core size with a 60 second timeout
create default ThreadPool with the core pool size being equal to the number of cpus and the max_size being twice the core size with a 60 second timeout