bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] Replacement for the sigs_to_ignore hack in timeout.c


From: Bruno Haible
Subject: Re: [PATCH] Replacement for the sigs_to_ignore hack in timeout.c
Date: Sat, 18 Oct 2008 15:44:09 +0200
User-agent: KMail/1.5.4

Eric Blake wrote:
> > 3. switch to the gnulib execute module, which makes this code portable to
> > mingw (the current fork/exec sequence excludes mingw, which lacks fork),

Jim Meyering wrote:
> #3 sounds like it's worth a try, at least.

Note that we have now posix_spawn() portable to all Unix platforms, and I've
started looking at a possible implementation of posix_spawn() for mingw. 80%
of the building bricks are already present. The 'execute' module will then
be based on posix_spawn.

So, there is a chance that you get posix_spawn() supported for all platforms
within a month or two.  You will need less code refactoring if you want
to use posix_spawn than if you want to use the 'execute' module.

Bruno





reply via email to

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