Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
waitWithPartialSpinning
Method · 0.45
waitManyWithPartialSpinning
Method · 0.45
wait_dequeue
Method · 0.45
wait_dequeue_timed
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected