pub async fn exited(pid: Pid) -> Result<()>Expand description
Waits until child pid has exited, without reaping it (waitid with WNOWAIT, on the
blocking pool: one parked thread per running process), so its zombie can be read first.
§Errors
The operating system’s error (e.g. ECHILD for a process that isn’t an unreaped child).