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

[20.10 backport] daemon: use RWMutex for stateCounter #43426

merged 1 commit into from Mar 25, 2022


Copy link

@thaJeztah thaJeztah commented Mar 25, 2022

Use an RWMutex to allow concurrent reads of these counters

Originally added in #29554 to address #28912 / #26668 / #26666

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Use an RWMutex to allow concurrent reads of these counters

Signed-off-by: Sebastiaan van Stijn <>
(cherry picked from commit 6991743)
Signed-off-by: Sebastiaan van Stijn <>
tianon approved these changes Mar 25, 2022
@tianon tianon merged commit 4e188b8 into moby:20.10 Mar 25, 2022
2 checks passed
@thaJeztah thaJeztah deleted the 20.10_backport_info_counters_rwmutex branch Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants