Skip to content

If the thread does not get the lock in the short term, yield the CPU #91176

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Nov 26, 2021

Conversation

stlankes
Copy link
Contributor

Reduces on RustyHermit the amount of wasted processor cycles

@rust-highfive
Copy link
Contributor

r? @kennytm

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 24, 2021
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@hkratz
Copy link
Contributor

hkratz commented Nov 24, 2021

Something went wrong with your rebase. Can you drop the unrelated commits?

Reduces the amount of wasted processor cycles
@stlankes
Copy link
Contributor Author

@hkratz Yes, I dropped the unrelated commits.

Co-authored-by: kennytm <kennytm@gmail.com>
@camelid camelid added the T-libs Relevant to the library team, which will review and decide on the PR/issue. label Nov 25, 2021
@kennytm
Copy link
Member

kennytm commented Nov 26, 2021

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Nov 26, 2021

📌 Commit 6911af9 has been approved by kennytm

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 26, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 26, 2021
…askrgr

Rollup of 4 pull requests

Successful merges:

 - rust-lang#91169 (Change cg_ssa's get_param to borrow the builder mutably)
 - rust-lang#91176 (If the thread does not get the lock in the short term, yield the CPU)
 - rust-lang#91212 (Fix ICE due to out-of-bounds statement index when reporting borrowck error)
 - rust-lang#91225 (Fix invalid scrollbar display on source code page)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit fdc305d into rust-lang:master Nov 26, 2021
@rustbot rustbot added this to the 1.58.0 milestone Nov 26, 2021
@mkroening mkroening deleted the spin branch December 11, 2022 19:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants