std::thread::pool {SIZE}

destroy

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

Parameters