Skip to main content

wait_until_gone

Function wait_until_gone 

Source
pub fn wait_until_gone(pid: i32, timeout: Duration) -> bool
Expand description

Wait for a PID to be positively known dead. Unknown never counts as gone. On unsupported platforms the result is false after the timeout.