Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ isCompleted
Method
isCompleted
valdi/src/valdi/runtime/Utils/AsyncGroup.cpp:51–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
}
50
51
bool AsyncGroup::isCompleted() const {
52
std::lock_guard<Mutex> guard(_mutex);
53
return _enterCount == 0;
54
}
55
56
void AsyncGroup::notify(DispatchFunction function) {
57
std::unique_lock<Mutex> guard(_mutex);
Callers
2
waitUntilAllUpdatesCompleted
Method · 0.80
waitUntilAllUpdatesCompletedSync
Method · 0.80
Calls
no outgoing calls
Tested by
1
waitUntilAllUpdatesCompleted
Method · 0.64