std::thread::threadpool

stop_and_destroy

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

Parameters