| 592 | |
| 593 | template <typename Thread> |
| 594 | void ThreadPoolImpl<Thread>::addOnDestroyCallback(OnDestroyCallback && callback) |
| 595 | { |
| 596 | std::lock_guard lock(mutex); |
| 597 | on_destroy_callbacks.push(std::move(callback)); |
| 598 | } |
| 599 | |
| 600 | template <typename Thread> |
| 601 | void ThreadPoolImpl<Thread>::onDestroy() |
no test coverage detected