MCPcopy Create free account
hub / github.com/apple/foundationdb / holdRefUntilStopped

Method holdRefUntilStopped

fdbserver/coroimpl/CoroFlow.actor.cpp:138–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 }
137
138 ACTOR Future<Void> holdRefUntilStopped(Pool* p) {
139 p->addref();
140 wait(p->allStopped.getResult());
141 p->delref();
142 return Void();
143 }
144 };
145
146 struct Worker final : Threadlike {

Callers

nothing calls this directly

Calls 4

getResultMethod · 0.80
VoidClass · 0.50
addrefMethod · 0.45
delrefMethod · 0.45

Tested by

no test coverage detected