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

Handle EINTR. #20

Merged
merged 1 commit into from
Jan 13, 2020
Merged

Handle EINTR. #20

merged 1 commit into from
Jan 13, 2020

Commits on Jan 13, 2020

  1. Handle EINTR.

    When building with sccache locally, I'm seeing a bunch of errors to acquire the
    jobserver token which are caused by interrupts at bad times.
    
    I think it was a kernel update what caused this, fwiw, but not 100% sure.
    
    Both can happen according to the man pages, and we're not handling them
    sensibly.
    
    I think retrying the read / poll when the error is EINTR is a sensible thing to
    do.
    emilio committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    b6c1e95 View commit details
    Browse the repository at this point in the history