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

Method enqueue_local

source/executors/worker_thread_executor.cpp:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void worker_thread_executor::enqueue_local(concurrencpp::task& task) {
89 if (m_private_atomic_abort.load(std::memory_order_relaxed)) {
90 details::throw_runtime_shutdown_exception(name);
91 }
92
93 m_private_queue.emplace_back(std::move(task));
94}
95
96void worker_thread_executor::enqueue_local(std::span<concurrencpp::task> tasks) {
97 if (m_private_atomic_abort.load(std::memory_order_relaxed)) {

Callers

nothing calls this directly

Calls 2

endMethod · 0.80
beginMethod · 0.80

Tested by

no test coverage detected