| 539 | } |
| 540 | |
| 541 | ~PinnedThreadPool() |
| 542 | { |
| 543 | { |
| 544 | std::lock_guard<std::mutex> lk(m_); |
| 545 | stop_ = true; |
| 546 | ++gen_; |
| 547 | } |
| 548 | cv_start_.notify_all(); |
| 549 | for (auto& t : threads_) t.join(); |
| 550 | } |
| 551 | |
| 552 | size_t size() const { return n_; } |
| 553 |
nothing calls this directly
no outgoing calls
no test coverage detected