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

mio: Retry poll if interrupted #2

Merged
merged 1 commit into from
Jun 14, 2016

Conversation

kamalmarhubi
Copy link
Contributor

Apparently on Linux, epoll_wait can return EINTR if a ptracer
attaches. The SIGSTOP is suppressed, but the call is still interrupted.
This retries the call to make it easier to do things like observe what's
going on with strace.

Apparently on Linux, epoll_wait can return EINTR if a ptracer
attaches. The SIGSTOP is suppressed, but the call is still interrupted.
This retries the call to make it easier to do things like observe what's
going on with strace.
@alexcrichton
Copy link
Member

ugh EINTR

@alexcrichton alexcrichton merged commit 71e40c0 into rust-lang:master Jun 14, 2016
MajorBreakfast pushed a commit to MajorBreakfast/futures-rs that referenced this pull request Aug 6, 2018
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.

2 participants