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

Method reinit_after_fork

crates/vm/src/intern.rs:40–42  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

38 /// threads exist.
39 #[cfg(all(unix, feature = "threading"))]
40 pub(crate) unsafe fn reinit_after_fork(&self) {
41 unsafe { crate::common::lock::reinit_rwlock_after_fork(&self.inner) };
42 }
43
44 #[inline]
45 pub unsafe fn intern<S: InternableString>(

Callers 1

reinit_locks_after_forkFunction · 0.45

Calls 1

reinit_rwlock_after_forkFunction · 0.85

Tested by

no test coverage detected