| 10 | m_thread_terminated_callback(thread_terminated_callback) {} |
| 11 | |
| 12 | thread_executor::~thread_executor() noexcept { |
| 13 | assert(m_workers.empty()); |
| 14 | assert(m_last_retired.empty()); |
| 15 | } |
| 16 | |
| 17 | void thread_executor::enqueue_impl(std::unique_lock<std::mutex>& lock, concurrencpp::task& task) { |
| 18 | assert(lock.owns_lock()); |