Skip to content

Commit

Permalink
Auto merge of #128219 - connortsui20:rwlock-downgrade, r=tgross35
Browse files Browse the repository at this point in the history
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](rust-lang/rust#128219 (comment)) to the `queue.rs` implementation to allow it to support downgrades?~~
  • Loading branch information
bors committed Nov 18, 2024
2 parents 4b29d93 + 39dc1dc commit d0c1f8c
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit d0c1f8c

Please sign in to comment.