Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
95
void ThreadPool::shutdownThreads(size_t num) {
96
mNumThreads -= num;
97
for (size_t i = 0; i < num; ++i) {
98
enqueueStopToken();
99
}
100
}
101
102
void ThreadPool::shutdown() {
103
shutdownThreads(mNumThreads);
Callers
1
mainFunc
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected