[Top][All Lists]

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

Re: groff 1.23.0.rc4 on mingw

From: Bruno Haible
Subject: Re: groff 1.23.0.rc4 on mingw
Date: Sun, 16 Apr 2023 02:24:01 +0200

G. Branden Robinson wrote:
> > This can be simplified to a single implementation for both, based on
> > posix_spawn. Gnulib implements posix_spawn also for native Windows;
> > see .
> To make sure I understand clearly, do you expect gnulib's posix_spawn to
> resolve _both_ of the above issues (notes 1 and 2)?

No, only note 2.

posix_spawn is faster than fork()+exec() on Linux/glibc, because some
effort has been made to optimize that. I'm not aware of a similar effort
for Cygwin, and won't do it myself either.

> I'll bet Gauis Mulley would have been thrilled to have gnulib's
> posix_spawn way back then.  :)

Me too :) posix_spawn was invented in 2001. But it took a long time:
Implementing posix_spawn for native Windows was like climbing a steep hill.


reply via email to

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