MCPcopy Create free account
hub / github.com/Snapchat/Valdi / lock

Method lock

valdi/src/valdi/runtime/JavaScript/Modules/ProtobufArena.cpp:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29ProtobufArena::~ProtobufArena() = default;
30
31std::unique_lock<std::recursive_mutex> ProtobufArena::lock() const {
32 return std::unique_lock<std::recursive_mutex>(_mutex);
33}
34
35std::vector<std::unique_lock<std::recursive_mutex>> ProtobufArena::lockRetainedMessageFactories() const {
36 // Lock factories in a stable address order so that concurrently locking more than

Callers 15

didUnloadMethod · 0.45
scheduleNextTickMethod · 0.45
doPostInitMethod · 0.45
operator()Method · 0.45
setJsContextHandlerMethod · 0.45
onCreateMethod · 0.45
onDestroyMethod · 0.45
onViewModelUpdateMethod · 0.45
onAttributeChangeMethod · 0.45
onRuntimeIssueMethod · 0.45
callComponentFunctionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected