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

Function wait

crates/vm/src/stdlib/posix.rs:1974–1976  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1972
1973 #[pyfunction]
1974 fn wait(vm: &VirtualMachine) -> PyResult<(libc::pid_t, i32)> {
1975 waitpid(-1, 0, vm)
1976 }
1977
1978 #[pyfunction]
1979 fn kill(pid: i32, sig: isize, vm: &VirtualMachine) -> PyResult<()> {

Callers

nothing calls this directly

Calls 1

waitpidFunction · 0.70

Tested by

no test coverage detected