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

Method set

drd/tests/monitor_example.cpp:189–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 return m_state;
188 }
189 void set(const int state)
190 {
191 ScopedLock sl(m_monitor);
192 m_state = state;
193 m_monitor.signal();
194 }
195 void wait(const int state)
196 {
197 ScopedLock sl(m_monitor);

Callers 2

thread_funcFunction · 0.45
mainFunction · 0.45

Calls 1

signalMethod · 0.80

Tested by

no test coverage detected