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

Function acquire_imp_lock_for_fork

crates/vm/src/stdlib/_imp.rs:79–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77/// Re-export for fork safety code in posix.rs
78#[cfg(feature = "threading")]
79pub(crate) fn acquire_imp_lock_for_fork() {
80 lock::acquire_lock_for_fork();
81}
82
83#[cfg(feature = "threading")]
84pub(crate) fn release_imp_lock_after_fork_parent() {

Callers 1

py_os_before_forkFunction · 0.85

Calls 1

acquire_lock_for_forkFunction · 0.85

Tested by

no test coverage detected