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

container: protect the health status with mutex #35517

Merged
merged 1 commit into from
Nov 20, 2017

Commits on Nov 16, 2017

  1. container: protect the health status with mutex

    Adds a mutex to protect the status, as well. When running the race
    detector with the unit test, we can see that the Status field is written
    without holding this lock. Adding a mutex to read and set status
    addresses the issue.
    
    Signed-off-by: Stephen J Day <stephen.day@docker.com>
    stevvooe committed Nov 16, 2017
    Configuration menu
    Copy the full SHA
    7db30ab View commit details
    Browse the repository at this point in the history