| 153 | m_max_waiting_time(max_waiting_time) {} |
| 154 | |
| 155 | timer_queue::~timer_queue() noexcept { |
| 156 | shutdown(); |
| 157 | assert(!m_worker.joinable()); |
| 158 | } |
| 159 | |
| 160 | void timer_queue::add_internal_timer(std::unique_lock<std::mutex>& lock, timer_ptr new_timer) { |
| 161 | assert(lock.owns_lock()); |