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

Method shutdown_all

source/runtime/runtime.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void executor_collection::shutdown_all() {
46 std::unique_lock<decltype(m_lock)> lock(m_lock);
47 for (auto& executor : m_executors) {
48 assert(static_cast<bool>(executor));
49 executor->shutdown();
50 }
51
52 m_executors = {};
53}
54
55/*
56 runtime_options

Callers 1

~runtimeMethod · 0.80

Calls 1

shutdownMethod · 0.45

Tested by

no test coverage detected