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

Add owned variants of RwLock guards #33

Closed
notgull opened this issue Dec 14, 2022 · 1 comment · Fixed by #47
Closed

Add owned variants of RwLock guards #33

notgull opened this issue Dec 14, 2022 · 1 comment · Fixed by #47

Comments

@notgull
Copy link
Member

notgull commented Dec 14, 2022

There exists a method to lock a Mutex in an Arc using lock_arc, so it would make sense for there to be read_arc/write_arc methods for the RwLock.

Related: async-rs/async-std#991

@ma2bd
Copy link

ma2bd commented Feb 1, 2023

+1 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants