MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / Wait

Method Wait

src/test/util/net.cpp:220–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218bool ZeroSock::IsSelectable() const { return true; }
219
220bool ZeroSock::Wait(std::chrono::milliseconds timeout, Event requested, Event* occurred) const
221{
222 if (occurred != nullptr) {
223 *occurred = requested;
224 }
225 return true;
226}
227
228bool ZeroSock::WaitMany(std::chrono::milliseconds timeout, EventsPerSock& events_per_sock) const
229{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.45

Calls 2

emplaceMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected