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

Method _after_fork

crates/stdlib/src/multiprocessing.rs:289–292  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

287
288 #[pymethod]
289 fn _after_fork(&self) {
290 self.count.store(0, Ordering::Release);
291 self.last_tid.store(0, Ordering::Release);
292 }
293
294 #[pymethod]
295 fn __reduce__(&self, vm: &VirtualMachine) -> PyResult {

Callers

nothing calls this directly

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected