Function executors::crossbeam_workstealing_pool::dyn_pool[][src]

pub fn dyn_pool(threads: usize) -> ThreadPool<StaticParker<DynamicThreadData>>

Creates a thread pool with support for an arbitrary* number threads.

(*Well, technically the limit is something like std::usize::MAX.)

This a convenience function, which is equivalent to ThreadPool::new(threads, parker::dyamic()).