Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_exclusive
Method
is_exclusive
crates/common/src/lock/cell_lock.rs:60–62 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
58
impl RawCellRwLock {
59
#[inline]
60
fn is_exclusive(&self) -> bool {
61
self.state.get() & WRITER_BIT != 0
62
}
63
}
64
65
unsafe impl RawRwLock for RawCellRwLock {
Callers
1
try_lock_shared_recursive
Method · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected