Skip to content
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

Expose PIDFD_NONBLOCK as os.PIDFD_NONBLOCK #93312

Closed
kumaraditya303 opened this issue May 28, 2022 · 1 comment
Closed

Expose PIDFD_NONBLOCK as os.PIDFD_NONBLOCK #93312

kumaraditya303 opened this issue May 28, 2022 · 1 comment
Labels
type-feature A feature request or enhancement

Comments

@kumaraditya303
Copy link
Contributor

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.

@kumaraditya303 kumaraditya303 added the type-feature A feature request or enhancement label May 28, 2022
@kumaraditya303
Copy link
Contributor Author

Fixed by #93313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant