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

Method lock

valdi_core/src/valdi_core/cpp/Schema/ValueSchemaRegistry.cpp:277–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 return false;
276 }
277 _entries[it->second].schema = schema;
278 return true;
279}
280
281std::unique_lock<std::recursive_mutex> ValueSchemaRegistry::lock() const {
282 return std::unique_lock<std::recursive_mutex>(_mutex);

Callers 1

getSchemaMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected