Skip to content

Fix a race with deadlock detection #15

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

Merged
merged 1 commit into from
Apr 15, 2025
Merged

Conversation

Zoxc
Copy link

@Zoxc Zoxc commented Mar 24, 2025

This fixes a race with deadlock detection as we didn't mark the thread as active before resuming it.

Copy link
Member

@cuviper cuviper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@cuviper cuviper merged commit b1174a4 into rust-lang:rustc Apr 15, 2025
3 checks passed
@Zoxc Zoxc deleted the deadlock-race branch April 15, 2025 21:04
cuviper added a commit to cuviper/rust that referenced this pull request Apr 16, 2025
* [Fix a race with deadlock detection](rust-lang/rustc-rayon#15)
* [Cherry-pick changes from upstream rayon-core](rust-lang/rustc-rayon#16)
  - This also removes a few dependencies from rustc's tidy list.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Apr 17, 2025
Upgrade to `rustc-rayon-core` 0.5.1

* [Fix a race with deadlock detection](rust-lang/rustc-rayon#15)
* [Cherry-pick changes from upstream rayon-core](rust-lang/rustc-rayon#16)
  - This also removes a few dependencies from rustc's tidy list.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Apr 17, 2025
Upgrade to `rustc-rayon-core` 0.5.1

* [Fix a race with deadlock detection](rust-lang/rustc-rayon#15)
* [Cherry-pick changes from upstream rayon-core](rust-lang/rustc-rayon#16)
  - This also removes a few dependencies from rustc's tidy list.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Apr 17, 2025
Upgrade to `rustc-rayon-core` 0.5.1

* [Fix a race with deadlock detection](rust-lang/rustc-rayon#15)
* [Cherry-pick changes from upstream rayon-core](rust-lang/rustc-rayon#16)
  - This also removes a few dependencies from rustc's tidy list.
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Apr 17, 2025
Rollup merge of rust-lang#139935 - cuviper:rustc-rayon-core-0.5.1, r=lqd

Upgrade to `rustc-rayon-core` 0.5.1

* [Fix a race with deadlock detection](rust-lang/rustc-rayon#15)
* [Cherry-pick changes from upstream rayon-core](rust-lang/rustc-rayon#16)
  - This also removes a few dependencies from rustc's tidy list.
lcnr pushed a commit to lcnr/rust that referenced this pull request Apr 17, 2025
* [Fix a race with deadlock detection](rust-lang/rustc-rayon#15)
* [Cherry-pick changes from upstream rayon-core](rust-lang/rustc-rayon#16)
  - This also removes a few dependencies from rustc's tidy list.
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.

2 participants