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

Function wait

crates/vm/src/stdlib/nt.rs:960–962  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

958 #[cfg(target_env = "msvc")]
959 #[pyfunction]
960 fn wait(vm: &VirtualMachine) -> PyResult<(intptr_t, u64)> {
961 waitpid(-1, 0, vm)
962 }
963
964 #[pyfunction]
965 fn kill(pid: i32, sig: isize, vm: &VirtualMachine) -> PyResult<()> {

Callers 1

pollMethod · 0.50

Calls 1

waitpidFunction · 0.70

Tested by

no test coverage detected