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

Method RepopulateHandles

LibLemon/src/lemon/waitable.cpp:51–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 void Waiter::RepopulateHandles(){
52 handles.clear();
53
54 for(auto& waitable : waitingOn){
55 handles.push_back(waitable->GetHandle());
56 }
57
58 for(auto& waitable : waitingOnAll){
59 waitable->GetAllHandles(handles);
60 }
61 }
62
63 Waiter::~Waiter(){
64 for(auto& waitable : waitingOn){

Callers 1

PollMethod · 0.80

Calls 2

clearMethod · 0.45
GetAllHandlesMethod · 0.45

Tested by

no test coverage detected