Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beefytech/Beef
/ CancelAll
Method
CancelAll
BeefySysLib/util/ThreadPool.cpp:184–192 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
182
}
183
184
void ThreadPool::CancelAll()
185
{
186
AutoCrit autoCrit(mCritSect);
187
for (auto job : mJobs)
188
job->Cancel();
189
for (auto thread : mThreads)
190
if (thread->mActiveJob != NULL)
191
thread->mActiveJob->Cancel();
192
}
Callers
nothing calls this directly
Calls
1
Cancel
Method · 0.45
Tested by
no test coverage detected