[llvm] [lit] Migrate lit to ProcessPoolExecutor (PR #202681)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 10 06:23:31 PDT 2026
================
@@ -272,12 +269,22 @@ def run_tests(tests, lit_config, opts, discovered_tests):
try:
execute_in_tmp_dir(run, lit_config)
except KeyboardInterrupt:
+ # Clear concurrent.futures thread registry to prevent atexit deadlocks.
+ try:
+ import concurrent.futures.process
+
+ if hasattr(concurrent.futures.process, "_threads_wakeups"):
+ concurrent.futures.process._threads_wakeups.clear()
----------------
boomanaiden154 wrote:
Can you describe more what the actual issue is here?
https://github.com/llvm/llvm-project/pull/202681
More information about the llvm-commits
mailing list