MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / WaitOnAll

Method WaitOnAll

LibLemon/src/lemon/waitable.cpp:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 void Waiter::WaitOnAll(Waitable* waitable){
24 waitingOnAll.push_back(waitable);
25
26 waitable->GetAllHandles(handles); // Get all handles
27
28 waitable->waiters.push_back(this);
29 }
30
31 void Waiter::StopWaitingOn(Waitable* waitable){
32 waitable->waiters.remove(this);

Callers 1

mainFunction · 0.80

Calls 1

GetAllHandlesMethod · 0.45

Tested by

no test coverage detected