Choose task thread in rust_scheduler by round robin#2086
Merged
brson merged 2 commits intorust-lang:masterfrom Apr 1, 2012
Merged
Choose task thread in rust_scheduler by round robin#2086brson merged 2 commits intorust-lang:masterfrom
brson merged 2 commits intorust-lang:masterfrom
Conversation
Remove the random context from rust_scheduler and use a simple round robin system to choose which thread a new task gets put on. Also, some incorrect tab indents around scoped blocks were fixed.
Contributor
|
This looks good. The only change I'd like is for Also, I note that this will launch the first task on thread 1 instead of 0. Would make me happier if it started on 0, but not for any rational reason. Thanks for fixing the indents. That was my mistake. |
Contributor
|
Merged. Thanks! |
folkertdev
added a commit
to folkertdev/rust
that referenced
this pull request
May 6, 2026
…eon-tests Add more manual aarch64 load/store intrinsic tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Remove the random context from rust_scheduler and use a simple round robin system to choose which thread a new task gets put on. Also, some incorrect tab indents around scoped blocks were fixed.