-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rwlock downgrade #128219
Merged
Merged
Rwlock downgrade #128219
Commits on Nov 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b683e1d - Browse repository at this point
Copy the full SHA b683e1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f71ecc4 - Browse repository at this point
Copy the full SHA f71ecc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3336ae0 - Browse repository at this point
Copy the full SHA 3336ae0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa9f04a - Browse repository at this point
Copy the full SHA fa9f04aView commit details -
modify queue implementation documentation
This commit only has documentation changes and a few things moved around the file. The very few code changes are cosmetic: changes like turning a `match` statement into an `if let` statement or reducing indentation for long if statements. This commit also adds several safety comments on top of `unsafe` blocks that might not be immediately obvious to a first-time reader. Code "changes" are in: - `add_backlinks_and_find_tail` - `lock_contended` A majority of the changes are just expanding the comments from 80 columns to 100 columns.
Configuration menu - View commit details
-
Copy full SHA for 31e35c2 - Browse repository at this point
Copy the full SHA 31e35c2View commit details -
add
downgrade
toqueue
implementationThis commit adds the `downgrade` method onto the inner `RwLock` queue implementation. There are also a few other style patches included in this commit. Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
Configuration menu - View commit details
-
Copy full SHA for 26b5a14 - Browse repository at this point
Copy the full SHA 26b5a14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d191b5 - Browse repository at this point
Copy the full SHA 3d191b5View commit details -
fix memory ordering bug + bad test
This commit fixes a memory ordering bug in the futex implementation (`Relaxed` -> `Release` on `downgrade`). This commit also removes a badly written test that deadlocked and replaces it with a more reasonable test based on an already-tested `downgrade` test from the parking-lot crate.
Configuration menu - View commit details
-
Copy full SHA for 84fd95c - Browse repository at this point
Copy the full SHA 84fd95cView commit details -
fix
DOWNGRADED
bit unpreservedCo-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
Configuration menu - View commit details
-
Copy full SHA for 782b07e - Browse repository at this point
Copy the full SHA 782b07eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc52cdd - Browse repository at this point
Copy the full SHA fc52cddView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.