| 76 | } |
| 77 | |
| 78 | void worker_thread_executor::work_loop() { |
| 79 | details::s_tl_this_worker = this; |
| 80 | |
| 81 | while (true) { |
| 82 | if (!drain_queue()) { |
| 83 | return; |
| 84 | } |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | void worker_thread_executor::enqueue_local(concurrencpp::task& task) { |
| 89 | if (m_private_atomic_abort.load(std::memory_order_relaxed)) { |
nothing calls this directly
no outgoing calls
no test coverage detected