Lines Matching defs:ThreadPool
281 pub fn build(self) -> ThreadPool { in build()
342 pub struct ThreadPool { struct
348 shared_data: Arc<ThreadPoolSharedData>, argument
351 impl ThreadPool { impl
367 pub fn new(num_threads: usize) -> ThreadPool { in new()
397 pub fn with_name(name: String, num_threads: usize) -> ThreadPool { in with_name()
407 pub fn new_with_name(name: String, num_threads: usize) -> ThreadPool { in new_with_name()
639 impl Clone for ThreadPool { implementation
676 fn clone(&self) -> ThreadPool { in clone()
687 impl Default for ThreadPool { implementation
693 impl fmt::Debug for ThreadPool { implementation
704 impl PartialEq for ThreadPool { implementation
728 impl Eq for ThreadPool {} implementation