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

Change epoll's timeout to Option<&Timespec>. #1324

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

sunfishcode
Copy link
Member

This eliminates the last place in rustix's public API that exposed a time value as a c_int milliseconds.

On Linux, the syscall needed to pass a full timespec is only available on Linux >= 5.11, so add a "linux_5_11" cargo feature to enable it.

This eliminates the last place in rustix's public API that exposed a
time value as a `c_int` milliseconds.

On Linux, the syscall needed to pass a full timespec is only available
on Linux >= 5.11, so add a "linux_5_11" cargo feature to enable it.
@sunfishcode sunfishcode merged commit 40ed9ed into main Feb 14, 2025
45 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/epoll-timeout branch February 14, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant