std::thread::pool {SIZE}

stop_and_destroy

fn void? ThreadPool.stop_and_destroy(&self)
Stop all the threads and cleanup the pool.
Any pending work will be processed.

Parameters