Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ threshold
Method
threshold
crates/vm/src/gc_state.rs:88–90 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
86
}
87
88
pub fn threshold(&self) -> u32 {
89
self.threshold.load(Ordering::SeqCst)
90
}
91
92
pub fn set_threshold(&self, value: u32) {
93
self.threshold.store(value, Ordering::SeqCst);
Callers
2
get_threshold
Method · 0.80
maybe_collect
Method · 0.80
Calls
1
load
Method · 0.45
Tested by
no test coverage detected