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

feat: Concurrent safety for ordered maps #35

Open
otaxhu opened this issue Dec 8, 2023 · 1 comment
Open

feat: Concurrent safety for ordered maps #35

otaxhu opened this issue Dec 8, 2023 · 1 comment

Comments

@otaxhu
Copy link

otaxhu commented Dec 8, 2023

Using v2.

I saw in the source code that there is a lot of critical sections where race conditions can happen, this can be a feature that doesn't change the current API, more like a internal feature.

Have a great day.

@elliotchance
Copy link
Owner

That's by design, it doesn't promise to be safe for concurrent operations. Applications will have to provide locking in the way that makes sense for their respective use cases.

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

No branches or pull requests

2 participants