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

Method work_loop

source/executors/worker_thread_executor.cpp:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void 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
88void worker_thread_executor::enqueue_local(concurrencpp::task& task) {
89 if (m_private_atomic_abort.load(std::memory_order_relaxed)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected