Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
6
std::mutex *GetSwitcherMutex()
7
{
8
static std::mutex m;
9
return &m;
10
}
11
std::unique_lock<std::mutex> *GetSwitcherLoopLock()
12
{
13
static std::mutex m;
Callers
2
GetMutex
Function · 0.70
LockContext
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected