MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / Mutex

Method Mutex

UnitTests/sources/SocketTest.cpp:32–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30class Mutex {
31public:
32 Mutex(bool factice = false) : _factice(factice) {}
33 void lock() { if (_factice) return; _mutex.lock(); }
34 void unlock() { if (_factice) return; _mutex.unlock(); }
35

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected