MCPcopy 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_thresholdMethod · 0.80
maybe_collectMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected