Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricPengShuai/Interview
/ ThreadPool
Method
ThreadPool
practice/threadpool.cpp:27–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
{
26
public:
27
ThreadPool() {}
28
~ThreadPool() {
29
// 释放 Thread 对象占用的堆资源
30
for (int i = 0; i < _pool.size(); ++ i) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected