MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / DebugMutex

Method DebugMutex

internal/concurrentqueue_internal_debug.h:14–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace moodycamel { namespace debug {
13 struct DebugMutex {
14 DebugMutex() { InitializeCriticalSectionAndSpinCount(&cs, 0x400); }
15 ~DebugMutex() { DeleteCriticalSection(&cs); }
16
17 void lock() { EnterCriticalSection(&cs); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected