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

Function GetSwitcherLoopLock

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

Source from the content-addressed store, hash-verified

9 return &m;
10}
11std::unique_lock<std::mutex> *GetSwitcherLoopLock()
12{
13 static std::mutex m;
14 static std::unique_lock<std::mutex> lock(m);
15 return &lock;
16}
17#else
18std::mutex *GetSwitcherMutex();
19std::unique_lock<std::mutex> *GetSwitcherLoopLock();

Callers 1

GetLoopLockFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected