MCPcopy Index your code
hub / github.com/RustPython/RustPython / db_lock

Method db_lock

crates/stdlib/src/_sqlite3.rs:1002–1005  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1000 }
1001
1002 fn db_lock(&self, vm: &VirtualMachine) -> PyResult<PyMappedMutexGuard<'_, Sqlite>> {
1003 self.check_thread(vm)?;
1004 self._db_lock(vm)
1005 }
1006
1007 fn _db_lock(&self, vm: &VirtualMachine) -> PyResult<PyMappedMutexGuard<'_, Sqlite>> {
1008 let guard = self.db.lock();

Callers 15

callMethod · 0.80
cursorMethod · 0.80
blobopenMethod · 0.80
commitMethod · 0.80
rollbackMethod · 0.80
backupMethod · 0.80
create_functionMethod · 0.80
create_aggregateMethod · 0.80
create_collationMethod · 0.80
set_authorizerMethod · 0.80
set_trace_callbackMethod · 0.80

Calls 2

_db_lockMethod · 0.80
check_threadMethod · 0.45

Tested by

no test coverage detected