-
Notifications
You must be signed in to change notification settings - Fork 470
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
Add preliminary support for loom #487
Merged
Merged
Commits on May 23, 2020
-
util/epoch: Add preliminary support for loom
This patch only adds support to parts of `utils` and to `epoch`. Some parts of `utils` had to be left out, since they rely on `AtomicUsize::new` being `const` (which it is not in `loom`). Other parts had to be left out due to the lack of `thread::Thread` in `loom`. All the parts needed for `epoch` were successfully moved to loom. For this initial patch, there are two loom tests, both in `epoch`. One is a simple test of defer_destroy while a pin is held, and the other is the Triber stack example. They both pass loom with `LOOM_MAX_PREEMPTIONS=3` and `LOOM_MAX_PREEMPTIONS=2`. The latter tests fewer possible interleavings, but completes in 13 minutes on my laptop rather than ~2 hours. I have added loom testing of `epoch` to CI as well. Note that the uses of `UnsafeCell` in `utils` have not been moved to `loom::cell::UnsafeCell`, as loom's `UnsafeCell` does not support `T: ?Sized`, which `AtomicCell` depends on. Fixes crossbeam-rs#486.
Configuration menu - View commit details
-
Copy full SHA for 4756ee1 - Browse repository at this point
Copy the full SHA 4756ee1View commit details
Commits on Dec 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 03ed848 - Browse repository at this point
Copy the full SHA 03ed848View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab7ffb0 - Browse repository at this point
Copy the full SHA ab7ffb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 617f8a0 - Browse repository at this point
Copy the full SHA 617f8a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fc70c9 - Browse repository at this point
Copy the full SHA 2fc70c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0f59cf - Browse repository at this point
Copy the full SHA e0f59cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2360e0 - Browse repository at this point
Copy the full SHA d2360e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58a66e4 - Browse repository at this point
Copy the full SHA 58a66e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f43ff79 - Browse repository at this point
Copy the full SHA f43ff79View commit details
Commits on Dec 10, 2020
-
Update crossbeam-epoch/src/atomic.rs
Co-authored-by: Taiki Endo <te316e89@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6410c0c - Browse repository at this point
Copy the full SHA 6410c0cView commit details -
Update crossbeam-utils/Cargo.toml
Co-authored-by: Taiki Endo <te316e89@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 26f2b44 - Browse repository at this point
Copy the full SHA 26f2b44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b82b8a - Browse repository at this point
Copy the full SHA 2b82b8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f1684b - Browse repository at this point
Copy the full SHA 9f1684bView commit details
Commits on Dec 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d3b128c - Browse repository at this point
Copy the full SHA d3b128cView commit details
Commits on Dec 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bcf0c68 - Browse repository at this point
Copy the full SHA bcf0c68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 660641c - Browse repository at this point
Copy the full SHA 660641cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8638951 - Browse repository at this point
Copy the full SHA 8638951View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d8304d - Browse repository at this point
Copy the full SHA 5d8304dView 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.