Skip to main content

try_pidfd_wait

Function try_pidfd_wait 

Source
async fn try_pidfd_wait(pid: Pid, pidfd: BorrowedFd<'_>) -> Option<i32>
Expand description

Wait for the exit of pid through its pidfd with async polling. None if the pidfd cannot be waited for.