Feature or enhancement
Expose PIDFD_NONBLOCK as os.PIDFD_NONBLOCK to be used with os.waitid.
Pitch
pidfd_open returns a nonblocking file descriptor if PIDFD_NONBLOCK is supplied as flag. If the process
referred to by the file descriptor has not yet terminated,
then an attempt to wait on the file descriptor using
waitid(2) will immediately return the error EAGAIN rather
than blocking.
Linked PRs
Feature or enhancement
Expose
PIDFD_NONBLOCKasos.PIDFD_NONBLOCKto be used withos.waitid.Pitch
pidfd_openreturns a nonblocking file descriptor ifPIDFD_NONBLOCKis supplied as flag. If the processreferred to by the file descriptor has not yet terminated,
then an attempt to wait on the file descriptor using
waitid(2) will immediately return the error EAGAIN rather
than blocking.
Linked PRs