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

Suppress interrupted status during pool closure #13521

Closed

Commits on May 27, 2021

  1. Suppress interrupted status during pool closure

    awaitTermination will throw InterruptedException if the interrupted
    status is set initially when it is called, even if no wait is required.
    Pool closure should not respect active interrupted status when shutting
    down and awaiting termination as a result of its call from
    executionPhaseEnding, which will occur during abnormal exits from
    ExecutionTool. Ignore this status initially and restore the flag upon
    exit of the factory close. An external interrupt which occurs during the
    awaitTermination will still trigger an InterruptedException, as
    expected.
    
    Fixes bazelbuild#13512
    werkt committed May 27, 2021
    Configuration menu
    Copy the full SHA
    d08b2de View commit details
    Browse the repository at this point in the history