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

Function reset_weakref_locks_after_fork

crates/vm/src/object/core.rs:497–499  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

495/// Python code runs in the child process.
496#[cfg(all(unix, feature = "threading"))]
497pub(crate) fn reset_weakref_locks_after_fork() {
498 weakref_lock::reset_all_after_fork();
499}
500
501// === WeakRefList: inline on every object (tp_weaklist) ===
502

Callers 1

py_os_after_fork_childFunction · 0.85

Calls 1

reset_all_after_forkFunction · 0.85

Tested by

no test coverage detected