rust/compiler/rustc_query_system
Jacob Pratt 8b61871eda
Rollup merge of #138874 - Zoxc:waiter-race, r=SparrowLii,davidtwco
Batch mark waiters as unblocked when resuming in the deadlock handler

This fixes a race when resuming multiple threads to resolve query cycles. This now marks all threads as unblocked before resuming  any of them. Previously if one was resumed and marked as unblocked at a time. The first thread resumed could fall asleep then Rayon would detect a second false deadlock. Later the initial deadlock handler thread would resume further threads.

This also reverts the workaround added in https://github.com/rust-lang/rust/pull/137731.

cc `@SparrowLii` `@lqd`
2025-03-25 20:34:46 -04:00
..
src Rollup merge of #138874 - Zoxc:waiter-race, r=SparrowLii,davidtwco 2025-03-25 20:34:46 -04:00
Cargo.toml Use hashbrown from crates.io 2025-03-21 07:54:35 +01:00
messages.ftl improve diagnostics for const eval query overflow 2025-01-06 09:43:05 +01:00