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

Method unlock

crates/common/src/lock/cell_lock.rs:41–43  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

39 }
40
41 unsafe fn unlock(&self) {
42 self.locked.set(false)
43 }
44
45 #[inline]
46 fn is_locked(&self) -> bool {

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected