mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
![]() Rwlock downgrade Tracking Issue: #128203 This PR adds a `downgrade` method for `RwLock` / `RwLockWriteGuard` on all currently supported platforms. Outstanding questions: - [x] ~~Does the `futex.rs` change affect performance at all? It doesn't seem like it will but we can't be certain until we bench it...~~ - [x] ~~Should the SOLID platform implementation [be ported over](https://github.com/rust-lang/rust/pull/128219#discussion_r1693470090) to the `queue.rs` implementation to allow it to support downgrades?~~ |
||
---|---|---|
.. | ||
barrier | ||
condvar | ||
lazy_lock | ||
mpmc | ||
mpsc | ||
mutex | ||
once | ||
once_lock | ||
reentrant_lock | ||
rwlock | ||
barrier.rs | ||
condvar.rs | ||
lazy_lock.rs | ||
mod.rs | ||
mutex.rs | ||
once_lock.rs | ||
once.rs | ||
poison.rs | ||
reentrant_lock.rs | ||
rwlock.rs |