about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-03-05 21:46:45 +0800
committerGitHub <noreply@github.com>2025-03-05 21:46:45 +0800
commit927c11fcb7fb5a4e0e7f97fb59e2bbed5ab77280 (patch)
treea2fb5dafcaf16f3a9bba8e4b21629f25ae6faf0e /compiler/rustc_mir_transform/src/coverage/graph.rs
parent257b4947ed14795a8411df53b6cf6d5a57b56240 (diff)
parentcc1e4ede9388d87750c3751f41e8c6c4f6cae995 (diff)
downloadrust-927c11fcb7fb5a4e0e7f97fb59e2bbed5ab77280.tar.gz
rust-927c11fcb7fb5a4e0e7f97fb59e2bbed5ab77280.zip
Rollup merge of #137731 - SparrowLii:waiter, r=nnethercote
Resume one waiter at once in deadlock handler

When multiple query loop errors occur in the code, only one waiter should be resumed at a time to avoid waking up multiple waiters at the same time and causing deadlock due to thread grabbing.

This fixes the UI failures in #132051

cc `@Zoxc` `@cjgillot` `@nnethercote` `@bjorn3` `@Kobzol`

Zulip discussion [here](https://rust-lang.zulipchat.com/#narrow/channel/187679-t-compiler.2Fwg-parallel-rustc/topic/Deadlocks.20and.20Rayon)

Edit: We can't reproduce these bugs with the existing test suits, so we keep them until we merge #132051
UPDATES #129912
UPDATES #120757
UPDATES #129911
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions