Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WarmUpTill/SceneSwitcher
/ Lock
Method
Lock
lib/utils/sync-helpers.cpp:58–61 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
}
57
58
std::lock_guard<std::mutex> Lockable::Lock()
59
{
60
return std::lock_guard<std::mutex>(_mtx);
61
}
62
63
void Lockable::WithLock(const std::function<void()> &func)
64
{
Callers
1
AcceptRecorded
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected