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

Function clear_after_fork

crates/vm/src/signal.rs:103–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101#[cfg(unix)]
102#[cfg(feature = "host_env")]
103pub(crate) fn clear_after_fork() {
104 ANY_TRIGGERED.store(false, Ordering::Release);
105 for trigger in &TRIGGERS {
106 trigger.store(false, Ordering::Relaxed);
107 }
108}
109
110pub fn assert_in_range(signum: i32, vm: &VirtualMachine) -> PyResult<()> {
111 if (1..NSIG as i32).contains(&signum) {

Callers 1

py_os_after_fork_childFunction · 0.85

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected