Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vector35/debugger
/ Wait
Method
Wait
core/semaphore.cpp:28–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
27
28
void Semaphore::Wait()
29
{
30
std::unique_lock<decltype(m_mutex)> lock(m_mutex);
31
while (!m_count)
32
m_cv.wait(lock);
33
--m_count;
34
}
Callers
1
ExecuteAdapterAndWait
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected