()
| 101 | #[cfg(unix)] |
| 102 | #[cfg(feature = "host_env")] |
| 103 | pub(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 | |
| 110 | pub fn assert_in_range(signum: i32, vm: &VirtualMachine) -> PyResult<()> { |
| 111 | if (1..NSIG as i32).contains(&signum) { |
no test coverage detected