MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / lock

Method lock

nodedb-array/src/sync/op_log.rs:68–70  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

66 }
67
68 fn lock(&self) -> ArrayResult<std::sync::MutexGuard<'_, OpMap>> {
69 self.ops.lock().map_err(|_| ArrayError::HlcLockPoisoned)
70 }
71}
72
73impl Default for InMemoryOpLog {

Callers 15

get_or_createMethod · 0.80
getMethod · 0.80
wal_group_commitFunction · 0.80
submitMethod · 0.80
assert_audit_hasFunction · 0.80
nowMethod · 0.80
updateMethod · 0.80
peekMethod · 0.80
next_ordinalMethod · 0.80
update_from_remoteMethod · 0.80
peekMethod · 0.80

Calls

no outgoing calls