MCPcopy 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

58impl RawCellRwLock {
59 #[inline]
60 fn is_exclusive(&self) -> bool {
61 self.state.get() & WRITER_BIT != 0
62 }
63}
64
65unsafe impl RawRwLock for RawCellRwLock {

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected