Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
183
unsafe impl RawRwLockRecursive for RawCellRwLock {
Callers
nothing calls this directly
Calls
1
set
Method · 0.45
Tested by
no test coverage detected