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).
This commit is contained in:
Spencer Baugh 2025-09-02 09:17:06 -04:00 committed by Eli Zaretskii
parent 90350729be
commit f1a18e8411

View file

@ -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)))