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

[v10] Swap out select for poll (#22676) and Loop for poll (#22746) #22800

Merged
merged 2 commits into from Mar 8, 2023

Conversation

ibeckermayer
Copy link
Contributor

Backports #22676 and #22746 to branch/v10

* Swap out select for poll

wait_for_fd now uses poll instead of select, allowing us to wait for
file descriptors > 1024.

* Restructuring the function to simplify and adds a log statement on error
* Swap out select for poll

wait_for_fd now uses poll instead of select, allowing us to wait for
file descriptors > 1024.

* Restructuring the function to simplify and adds a log statement on error

* Puts poll in a loop that checks for EINTR and EAGAIN
and calls it again if either of those errors were the source
of the error.
@ibeckermayer ibeckermayer added this pull request to the merge queue Mar 8, 2023
Merged via the queue into branch/v10 with commit 89f97e0 Mar 8, 2023
@zmb3 zmb3 deleted the isaiah/backport-22676-22746-branch/v10 branch March 12, 2023 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants