Skip to content
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

std::rt: Implement task yielding. Fix a starvation problem #9507

Merged
merged 1 commit into from
Sep 26, 2013

Conversation

brson
Copy link
Contributor

@brson brson commented Sep 26, 2013

This also includes a fix for yielding from single-threaded schedulers where the scheduler would stop working before its work queue was empty. Fixes the deadlocks that this patch had previously.

bors added a commit that referenced this pull request Sep 26, 2013
This also includes a fix for yielding from single-threaded schedulers where the scheduler would stop working before its work queue was empty. Fixes the deadlocks that this patch had previously.
@bors bors merged commit d209717 into rust-lang:master Sep 26, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Oct 6, 2022
[arithmetic-side-effects] Consider references

Takes into consideration integer references like `&i32::MAX` because currently things like `let _ = &1 + 0` trigger the lint.

changelog: FP: [`arithmetic_side_effects`]: Now ignores references
  [9507](rust-lang/rust-clippy#9507)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants