pub fn new() -> Self {
        let max_jobs = num_cpus::get();
        let ctx_factory = Box::new(|| ());
        Self { max_jobs, ctx_factory }
    }
/// Creates a new scheduler instance.
Creates a new scheduler instance.
Creates a new scheduler instance .
pub fn new() -> Self {
        let max_jobs = num_cpus::get();
        let ctx_factory = Box::new(|| ());
        Self { max_jobs, ctx_factory }
    }
pub fn new ( ) -> Self { let max_jobs = num_cpus :: get ( ) ; let ctx_factory = Box :: new ( | | ( ) ) ; Self { max_jobs , ctx_factory } }
Creates a new scheduler instance.
Creates a new scheduler instance .