MCPcopy 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
51bool AsyncGroup::isCompleted() const {
52 std::lock_guard<Mutex> guard(_mutex);
53 return _enterCount == 0;
54}
55
56void AsyncGroup::notify(DispatchFunction function) {
57 std::unique_lock<Mutex> guard(_mutex);

Calls

no outgoing calls

Tested by 1