| 195 | |
| 196 | template<typename T> |
| 197 | void ThreadPool<T>::stopTasks(const TaskId &identifier) { |
| 198 | std::unique_lock<std::mutex> lock(worker_queue_mutex_); |
| 199 | task_status_[identifier] = false; |
| 200 | } |
| 201 | |
| 202 | template<typename T> |
| 203 | void ThreadPool<T>::shutdown() { |
no outgoing calls
no test coverage detected