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
merged 1 commit into from Mar 25, 2022

Conversation

thaJeztah
Copy link
Member

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 <github@gone.nl>
(cherry picked from commit 6991743)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@tianon tianon merged commit 4e188b8 into moby:20.10 Mar 25, 2022
@thaJeztah thaJeztah deleted the 20.10_backport_info_counters_rwmutex branch March 25, 2022 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants