Skip to content

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

Merged
tianon merged 1 commit into
moby:20.10from
thaJeztah:20.10_backport_info_counters_rwmutex
Mar 25, 2022
Merged

[20.10 backport] daemon: use RWMutex for stateCounter#43426
tianon merged 1 commit into
moby:20.10from
thaJeztah:20.10_backport_info_counters_rwmutex

Conversation

@thaJeztah

Copy link
Copy Markdown
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 <[email protected]>
(cherry picked from commit 6991743)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 20.10.15 milestone Mar 25, 2022
@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.

3 participants