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

Method shutdown_requested

source/executors/worker_thread_executor.cpp:164–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164bool worker_thread_executor::shutdown_requested() const {
165 return m_atomic_abort.load(std::memory_order_relaxed);
166}
167
168void worker_thread_executor::shutdown() {
169 const auto abort = m_atomic_abort.exchange(true, std::memory_order_relaxed);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected