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

fix: concurrent access. #19

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

ldez
Copy link
Contributor

@ldez ldez commented Jan 20, 2021

Description

Uses RwMutex to protect constantDefinitions of concurrent access.

Motivation and Context

Fixes #18

How Has This Been Tested?

# https://github.com/kopia/kopia
$ git@github.com:kopia/kopia.git
$ git checkout 1f3b8d4d
$ mnd ./...
$ mnd ./...
$ mnd ./...
$ mnd ./...
$ mnd ./...

@tommy-muehle tommy-muehle merged commit 31b8e70 into tommy-muehle:master Jan 22, 2021
@tommy-muehle
Copy link
Owner

@ldez Thank you very much for the contribution! I'll asap release a new version.

@ldez ldez deleted the fix/concurrent-access branch January 22, 2021 22:34
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.

Concurrent map read and map write
2 participants