emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coping with errors in starting async compilations


From: Andrea Corallo
Subject: Re: Coping with errors in starting async compilations
Date: Mon, 18 Oct 2021 08:44:41 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Andrea,
>
> Is comp-run-async-workers capable of coping with failures to launch a
> sub-process due to stuff like insufficient resources?  For example,
> Emacs on MS-Windows doesn't allow to start more than 31 sub-processes
> (including network connections, so it could be less than that), so
> what happens when comp-run-async-workers attempts to start another
> sub-process and that fails with EAGAIN?  That should be handled like
> reaching the limitation of comp-effective-async-max-jobs.  Perhaps it
> already is?
>
> Thanks.

Hi Eli,

good point, this is not handled.  What should the intended behaivour we
want?  Restart new compilations failed with EAGAIN and wait to start new
one?

Thanks

  Andrea



reply via email to

[Prev in Thread] Current Thread [Next in Thread]