about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-18 07:24:12 +0000
committerbors <bors@rust-lang.org>2024-11-18 07:24:12 +0000
commite83c45a98bf8c8228fb60e55a1cb75b8e69b5c1b (patch)
tree8fd4b3533444f392a2a683e694d6927c62addca9 /compiler/rustc_mir_transform/src
parentbf6adec108e83c5ddfcbb443a9177203db5eb945 (diff)
parentfc52cdd9a8b9c2b2e21b0976373e6b54f4c3b5fa (diff)
downloadrust-e83c45a98bf8c8228fb60e55a1cb75b8e69b5c1b.tar.gz
rust-e83c45a98bf8c8228fb60e55a1cb75b8e69b5c1b.zip
Auto merge of #128219 - connortsui20:rwlock-downgrade, r=tgross35
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?~~
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions