Shut down worker threads orderly. They will finish any queued jobs first.
(&mut self)
| 74 | |
| 75 | /// Shut down worker threads orderly. They will finish any queued jobs first. |
| 76 | pub fn shutdown(&mut self) { |
| 77 | self.request_tx = None; |
| 78 | } |
| 79 | |
| 80 | /// Join all the worker threads. |
| 81 | /// Transfer pass timings from the worker threads to the current thread. |