Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ClassicOldSong/Apollo
/ ~ThreadPool
Method
~ThreadPool
src/thread_pool.h:42–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
40
}
41
42
~ThreadPool() noexcept {
43
if (!_continue) {
44
return;
45
}
46
47
stop();
48
join();
49
}
50
51
template<class Function, class... Args>
52
auto push(Function &&newTask, Args &&...args) {
Callers
nothing calls this directly
Calls
2
stop
Function · 0.85
join
Function · 0.85
Tested by
no test coverage detected