Wait until all threads stopped processing
| 199 | |
| 200 | //! Wait until all threads stopped processing |
| 201 | void wait_stop(void) { |
| 202 | std::unique_lock<std::mutex> lock(wait_mutex_); |
| 203 | stopped_cond_.wait(lock, [this]() { return this->is_stopped(); }); |
| 204 | } |
| 205 | |
| 206 | //! Check if the pool is stopped |
| 207 | bool is_stopped(void) const { |
nothing calls this directly
no test coverage detected