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

advise to add AddWithLifetimeIfAbsent and AddIfAbsent func for SharedLRU #66

Open
Nyx2022 opened this issue Nov 21, 2024 · 1 comment
Open

Comments

@Nyx2022
Copy link

Nyx2022 commented Nov 21, 2024

because in Concurrent scene, when i call contains and then call add , there will be some unexpected situation happened which will cause the condition race problem

@rockdaboot
Copy link
Contributor

Makes sense

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