-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add a backend for waitable handles #68
Conversation
ok, the concept looks good overall, but I wasn't yet able to look through in detail. |
I realized that |
This should be fixed as of now. |
Signed-off-by: John Nunley <dev@notgull.net>
This commit adds a new backend for the process reaper. Rather than waiting on a signal, it instead registers the process's pidfd into async-io and waits on that instead. I've coded this backend to also allow for other systems to be registered here as well. Signed-off-by: John Nunley <dev@notgull.net>
@smol-rs/admins Any chance this PR can be reviewed? |
As pidfd isn't available in older versions of Linux that Rust still supports, this is necessary for running on older Linux. In addition, signals tests are still kept in CI. Signed-off-by: John Nunley <dev@notgull.net>
This commit adds a new backend for the process reaper. Rather than
waiting on a signal, it instead registers the process's pidfd into
async-io and waits on that instead.
I've coded this backend to also allow for other systems to be registered
here as well.
cc #49