Skip to content

SR-9033: handle EPOLLHUP on Linux #477

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

Closed
wants to merge 1 commit into from
Closed

SR-9033: handle EPOLLHUP on Linux #477

wants to merge 1 commit into from

Conversation

adierking
Copy link
Contributor

If epoll_wait() reports EPOLLHUP, we must respond immediately and
unregister the event or else Dispatch will go into a spinloop.

This makes dispatch_io_pipe_close (#476) pass on Linux with identical
output to Darwin.

If epoll_wait() reports EPOLLHUP, we must respond immediately and
unregister the event or else Dispatch will go into a spinloop.

This makes dispatch_io_pipe_close (#476) pass on Linux with identical
output to Darwin.
@adierking
Copy link
Contributor Author

@compnerd
Copy link
Member

compnerd commented May 3, 2019

@swift-ci please test

@gottesmm
Copy link
Contributor

gottesmm commented May 4, 2019

Maybe add the test from Johannes PR to this? Then we have the test and impl together?

@compnerd
Copy link
Member

compnerd commented May 5, 2019

@gottesmm - I don't think that matters if we commit them at the same time. They should remain individual commits to retain the authorship information.

@gottesmm
Copy link
Contributor

gottesmm commented May 6, 2019

@compnerd you can keep the authorship information the same and have a different committer. @adierking Can you just cherry-pick that commit into this PR and do a test and merge. Lets get this in.

@gottesmm
Copy link
Contributor

gottesmm commented May 6, 2019

I created a combined PR for this to get this going. I am going to close this to eliminate confusion.

@gottesmm gottesmm closed this May 6, 2019
@adierking
Copy link
Contributor Author

Thanks - I've been busy and I haven't been able to update this.

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.

3 participants