emacs-devel
[Top][All Lists]
Advanced

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

Re: call-process should not block process filters from running


From: Mattias Engdegård
Subject: Re: call-process should not block process filters from running
Date: Wed, 28 Jun 2023 13:39:03 +0200

27 juni 2023 kl. 23.55 skrev Spencer Baugh <sbaugh@janestreet.com>:

> When Lisp code calls call-process, then while call-process is running,
> all Lisp is blocked from running, including process filters and timers
> created beforehand by other Lisp.  This call-process behavior is
> harmful

I/O is faster for call-process partly because these things can be avoided, and 
there is less consing. The overall latency is also slightly lower.
(Not to say that there isn't plenty of room for improvement for either.)

But otherwise yes, make-process is often preferable for the reasons you mention 
and others.




reply via email to

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