From f1a18e84117916474596a4c9b9df3a67d324ef58 Mon Sep 17 00:00:00 2001 From: Spencer Baugh Date: Tue, 2 Sep 2025 09:17:06 -0400 Subject: [PATCH] Allow any thread to run native compilations * lisp/emacs-lisp/comp-run.el (comp--run-async-workers): Don't lock the native compilation process to a thread (bug#79228). --- lisp/emacs-lisp/comp-run.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emacs-lisp/comp-run.el b/lisp/emacs-lisp/comp-run.el index 1761190ea17..5e33b1bc318 100644 --- a/lisp/emacs-lisp/comp-run.el +++ b/lisp/emacs-lisp/comp-run.el @@ -366,6 +366,7 @@ display a message." (eq load1 'late)))) (comp--run-async-workers)) :noquery (not native-comp-async-query-on-exit)))) + (set-process-thread process nil) (puthash source-file process comp-async-compilations)) when (>= (comp--async-runnings) (comp--effective-async-max-jobs)) do (cl-return)))