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

Use atomic pointer for map access synchronization #12

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

Snawoot
Copy link
Contributor

@Snawoot Snawoot commented Oct 27, 2024

This PR continues effort made in #10.

Because of known issue with sync.RWMutex scalability it's reasonable to get rid of mutexes at all. It makes sense because these mutexes are used just for single assignment operations.

Signed-off-by: Vladislav Yarmak <vladislav@vm-0.com>
@tg123
Copy link
Owner

tg123 commented Oct 29, 2024

better to make gated ci happy
or i have to bypass it

Signed-off-by: Vladislav Yarmak <vladislav@vm-0.com>
@Snawoot
Copy link
Contributor Author

Snawoot commented Oct 29, 2024

Let's see if increase of test coverage helped...

@tg123 tg123 merged commit 383357b into tg123:master Oct 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants