MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / GetSwitcherMutex

Function GetSwitcherMutex

lib/utils/sync-helpers.cpp:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5#ifdef UNIT_TEST
6std::mutex *GetSwitcherMutex()
7{
8 static std::mutex m;
9 return &m;
10}
11std::unique_lock<std::mutex> *GetSwitcherLoopLock()
12{
13 static std::mutex m;

Callers 2

GetMutexFunction · 0.70
LockContextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected