| 4 | using concurrencpp::thread_executor; |
| 5 | |
| 6 | thread_executor::thread_executor(const std::function<void(std::string_view thread_name)>& thread_started_callback, |
| 7 | const std::function<void(std::string_view thread_name)>& thread_terminated_callback) : |
| 8 | derivable_executor<concurrencpp::thread_executor>(details::consts::k_thread_executor_name), |
| 9 | m_abort(false), m_atomic_abort(false), m_thread_started_callback(thread_started_callback), |
| 10 | m_thread_terminated_callback(thread_terminated_callback) {} |
| 11 | |
| 12 | thread_executor::~thread_executor() noexcept { |
| 13 | assert(m_workers.empty()); |
nothing calls this directly
no outgoing calls
no test coverage detected