Skip to main content

process_alive

Function process_alive 

Source
fn process_alive(pid: pid_t) -> bool
Expand description

Whether pid has a live process. Signal-0 probe plus a zombie check: an exited-but-unreaped child (its parent has not waited yet) still answers kill(pid, 0), which would make waratah stop wait out its whole deadline on a process that is already gone.