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

Method downgrade_to_upgradable

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

Source from the content-addressed store, hash-verified

176
177 #[inline]
178 unsafe fn downgrade_to_upgradable(&self) {
179 self.state.set(ONE_READER);
180 }
181}
182
183unsafe impl RawRwLockRecursive for RawCellRwLock {

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected