RwLock: support upgrades/downgrades
Open
- Dominant language
- Rust
- Stars
- 4.1k
- Forks
- 339
- PR merge metrics
- No merged PRs in 30d
Description
I think it would be great (certainly useful for me) if `RwLock` were to support read-write upgrades and write-read downgrades. Currently I don't see a way to accomplish the same and I always have to get write access over the entire operation.
Contributor guide
Assessment
This issue has not been assessed yet.