MCPcopy Create free account
hub / github.com/David-Haim/concurrencpp / timer_queue

Method timer_queue

source/timers/timer_queue.cpp:148–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146} // namespace concurrencpp::details
147
148timer_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
155timer_queue::~timer_queue() noexcept {
156 shutdown();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected