Skip to content

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

2 participants