Lines Matching refs:ThreadPoolBuilder
9 use crate::{join, Scope, ScopeFifo, ThreadPool, ThreadPoolBuilder};
14 let thread_pool = ThreadPoolBuilder::new().build().unwrap(); in panic_propagate()
26 let thread_pool = ThreadPoolBuilder::new().num_threads(22).build().unwrap(); in workers_stop()
55 let thread_pool = ThreadPoolBuilder::new().num_threads(22).build().unwrap(); in sleeper_stop()
103 let builder = ThreadPoolBuilder::new() in failed_thread_stack()
123 let builder = ThreadPoolBuilder::new() in panic_thread_name()
145 let pool = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in self_install()
153 let pool1 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in mutual_install()
154 let pool2 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in mutual_install()
174 let pool1 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in mutual_install_sleepy()
175 let pool2 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in mutual_install_sleepy()
206 let builder = ThreadPoolBuilder::new().num_threads(1);
239 let builder = ThreadPoolBuilder::new().num_threads(1);
289 .map(|_| ThreadPoolBuilder::new().num_threads(1).build().unwrap()) in nested_scopes()
325 .map(|_| ThreadPoolBuilder::new().num_threads(1).build().unwrap()) in nested_fifo_scopes()
342 let pool = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in in_place_scope_no_deadlock()
357 let pool = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in in_place_scope_fifo_no_deadlock()