MCPcopy 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
58std::lock_guard<std::mutex> Lockable::Lock()
59{
60 return std::lock_guard<std::mutex>(_mtx);
61}
62
63void Lockable::WithLock(const std::function<void()> &func)
64{

Callers 1

AcceptRecordedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected