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

Method shutdown_requested

source/executors/thread_executor.cpp:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55bool thread_executor::shutdown_requested() const {
56 return m_atomic_abort.load(std::memory_order_relaxed);
57}
58
59void thread_executor::shutdown() {
60 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