| 403 | } |
| 404 | |
| 405 | ~PinnedThreadPool() |
| 406 | { |
| 407 | { |
| 408 | std::lock_guard<std::mutex> lk(m_); |
| 409 | stop_ = true; |
| 410 | ++gen_; |
| 411 | } |
| 412 | cv_start_.notify_all(); |
| 413 | for (auto& t : threads_) t.join(); |
| 414 | } |
| 415 | |
| 416 | size_t size() const { return n_; } |
| 417 |
nothing calls this directly
no outgoing calls
no test coverage detected