MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / wait

Method wait

deps/concurrentqueue/lightweightsemaphore.h:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 bool wait()
81 {
82 const unsigned long infinite = 0xffffffff;
83 return WaitForSingleObject(m_hSema, infinite) == 0;
84 }
85
86 bool try_wait()
87 {

Callers 4

wait_dequeueMethod · 0.45
wait_dequeue_timedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected