-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Expose PIDFD_NONBLOCK as os.PIDFD_NONBLOCK #93312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Fixed by #93313 |
according to documentation it should be available, yet it is not there:
|
Correct, something is wrong. I wrote #127593 to fix the constant. |
…-127593) (cherry picked from commit fcbe6ec) Co-authored-by: Victor Stinner <[email protected]>
Feature or enhancement
Expose
PIDFD_NONBLOCK
asos.PIDFD_NONBLOCK
to be used withos.waitid
.Pitch
pidfd_open
returns a nonblocking file descriptor ifPIDFD_NONBLOCK
is 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
The text was updated successfully, but these errors were encountered: