emacs-devel
[Top][All Lists]
Advanced

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

Re: master 2c79a8f 2/2: Use posix_spawn if possible.


From: Andreas Schwab
Subject: Re: master 2c79a8f 2/2: Use posix_spawn if possible.
Date: Sat, 02 Jan 2021 09:56:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux)

On Jan 02 2021, Eli Zaretskii wrote:

>> From: Andy Moreton <andrewjmoreton@gmail.com>
>> Date: Sat, 02 Jan 2021 01:12:36 +0000
>> 
>> > posix_spawn is supposed to be significantly faster than fork/exec on
>> > macOS and Cygwin.
>> 
>> Thanks Alan, useful info. However Philipp started with Linux, so there
>> ought to also be something useful there that motivated these patches. I
>> would be interested to learn what helps on Linux.
>
> AFAIK, the speedup also happens on GNU/Linux.

Emacs already uses vfork, what else does posix_spawn give?  Nothing,
AFAICS.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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