-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed as not planned
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
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.
parking_lot
currently supports both cases (here & here). I also understand that there exists a proposal to use parking_lot
as the lock implementation backend.
Once (if) that lands, it should merely be a matter of extending the std
APIs to provide such support.
IncSW, oxalica and artob
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.