1 2 3 4 5 6 7 8 9 10
mod actor; mod fn_box; mod thread; mod thread_pool; use crate::thread_pool::ThreadPool; pub fn init(thread_number: usize) -> ThreadPool { thread_pool::ThreadPool::new(thread_number) }