Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YACReader/yacreader
/ waitAll
Method
waitAll
common/concurrent_queue.cpp:62–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
60
}
61
62
void ConcurrentQueue::waitAll() const
63
{
64
std::unique_lock<std::mutex> lock(jobsLeftMutex);
65
_waitVar.wait(lock, [this] { return jobsLeft == 0; });
66
}
67
68
void ConcurrentQueue::nextJob()
69
{
Callers
1
waitAndPrint
Function · 0.80
Calls
no outgoing calls
Tested by
1
waitAndPrint
Function · 0.64