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

Method lock

valdi_core/src/valdi_core/cpp/Marshalling/CppMarshaller.cpp:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20namespace Valdi {
21
22std::unique_lock<std::recursive_mutex> CppObjectStore::lock() const {
23 return std::unique_lock<std::recursive_mutex>(_mutex);
24}
25
26void CppObjectStore::setObjectProxyForId(uint32_t id, const Ref<CppGeneratedInterface>& object) {
27 _objectProxyById[id] = weakRef(object.get());

Callers 7

getObjectProxyForIdMethod · 0.45
operator()Method · 0.45
getResolvedSchemaMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected