MCPcopy Create free account
hub / github.com/ClassicOldSong/Apollo / stop

Method stop

src/thread_pool.h:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 void stop() {
87 std::lock_guard lg(_lock);
88
89 _continue = false;
90 _cv.notify_all();
91 }
92
93 void join() {
94 for (auto &t : _thread) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected