Basic thread pool implementation using some code from the rust book.
Basic usage:
//create a new thread pool with the specified number of threads
let workers: ThreadPool = new;
//execute a closure from the thread pool
workers.execute.unwrap;
Basic thread pool implementation using some code from the rust book.
Basic usage:
//create a new thread pool with the specified number of threads
let workers: ThreadPool = new;
//execute a closure from the thread pool
workers.execute.unwrap;