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

Method get

drd/tests/monitor_example.cpp:184–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 : m_state()
183 { }
184 int get()
185 {
186 ScopedLock sl(m_monitor);
187 return m_state;
188 }
189 void set(const int state)
190 {
191 ScopedLock sl(m_monitor);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected