Removes all worker threads from the thread pool. This should only be done carefully, as blocking on an empty pool can cause a deadlock. See [`ThreadPool::resize_to`] for more information about resizing.
(&'static self)
| 278 | } |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | // ----------------------------------------------------------------------------- |
| 283 | // Thread pool resizing |
| 284 | |
| 285 | impl ThreadPool { |