MCPcopy Create free account
hub / github.com/LouisBrunner/valgrind-macos / wait

Method wait

drd/tests/monitor_example.cpp:195–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 m_monitor.signal();
194 }
195 void wait(const int state)
196 {
197 ScopedLock sl(m_monitor);
198 while (m_state != state)
199 m_monitor.wait();
200 }
201
202private:
203 Monitor m_monitor;

Callers

nothing calls this directly

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected