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

Method reinit_stats_after_fork

crates/vm/src/gc_state.rs:128–130  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

126 /// threads exist.
127 #[cfg(all(unix, feature = "threading"))]
128 unsafe fn reinit_stats_after_fork(&self) {
129 unsafe { crate::common::lock::reinit_mutex_after_fork(&self.stats) };
130 }
131}
132
133/// Wrapper for NonNull<PyObject> to impl Hash/Eq for use in temporary collection sets.

Callers 1

reinit_after_forkMethod · 0.80

Calls 1

reinit_mutex_after_forkFunction · 0.85

Tested by

no test coverage detected