MCPcopy Create free account
hub / github.com/Tom94/tev / shutdownThreads

Method shutdownThreads

src/ThreadPool.cpp:95–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void ThreadPool::shutdownThreads(size_t num) {
96 mNumThreads -= num;
97 for (size_t i = 0; i < num; ++i) {
98 enqueueStopToken();
99 }
100}
101
102void ThreadPool::shutdown() {
103 shutdownThreads(mNumThreads);

Callers 1

mainFuncFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected