| 146 | } // namespace concurrencpp::details |
| 147 | |
| 148 | timer_queue::timer_queue(milliseconds max_waiting_time, |
| 149 | const std::function<void(std::string_view thread_name)>& thread_started_callback, |
| 150 | const std::function<void(std::string_view thread_name)>& thread_terminated_callback) : |
| 151 | m_thread_started_callback(thread_started_callback), |
| 152 | m_thread_terminated_callback(thread_terminated_callback), m_atomic_abort(false), m_abort(false), m_idle(true), |
| 153 | m_max_waiting_time(max_waiting_time) {} |
| 154 | |
| 155 | timer_queue::~timer_queue() noexcept { |
| 156 | shutdown(); |
nothing calls this directly
no outgoing calls
no test coverage detected