Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_locked
Method
is_locked
crates/common/src/lock/cell_lock.rs:46–48 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
44
45
#[inline]
46
fn is_locked(&self) -> bool {
47
self.locked.get()
48
}
49
}
50
51
const WRITER_BIT: usize = 0b01;
Callers
12
lock
Method · 0.80
try_lock
Method · 0.80
try_lock_exclusive
Method · 0.80
release_lock
Function · 0.80
lock_held
Function · 0.80
release_lock_after_fork_parent
Function · 0.80
reinit_after_fork
Function · 0.80
after_fork_child_reinit_and_release
Function · 0.80
release
Method · 0.80
locked
Method · 0.80
repr_str
Method · 0.80
run_thread
Function · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected