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

Method enqueue

source/executors/worker_thread_executor.cpp:144–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void worker_thread_executor::enqueue(concurrencpp::task task) {
145 if (details::s_tl_this_worker == this) {
146 return enqueue_local(task);
147 }
148
149 enqueue_foreign(task);
150}
151
152void worker_thread_executor::enqueue(std::span<concurrencpp::task> tasks) {
153 if (details::s_tl_this_worker == this) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected