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

Suggestion: Shared lock #81

Open
jlherren opened this issue Jun 10, 2024 · 0 comments
Open

Suggestion: Shared lock #81

jlherren opened this issue Jun 10, 2024 · 0 comments

Comments

@jlherren
Copy link

I would find a shared lock useful, similar to c++'s std::shared_lock, which allows to acquire an exclusive lock as well as acquiring multiple shared locks concurrently.

I believe this can be implemented using two simple locks.

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

1 participant