[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH1/2] Use spawn() on Cygwin
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH1/2] Use spawn() on Cygwin |
Date: |
Sat, 03 Aug 2013 11:16:44 +0300 |
> Date: Fri, 2 Aug 2013 22:49:31 -0400
> From: Christopher Faylor <address@hidden>
>
> On Tue, Jul 30, 2013 at 08:02:54PM +0300, Eli Zaretskii wrote:
> >> Date: Tue, 30 Jul 2013 11:52:58 -0500
> >> From: Norbert Thiebaud <address@hidden>
> >> Cc: Pavel Fedin <address@hidden>, address@hidden
> >>
> >> fork() is a very expensive operation in cygwin.
> >
> >Yes, I know. But without it, some things that are expected of a Posix
> >behavior will not work. A notable example is that the child process
> >initially has all the file descriptors and global variables that the
> >parent had. 'spawn' does not necessarily guarantee that.
>
> Thank you Eli. This is my reservation about this change too. I
> maintain the make package for Cygwin and if I have reservations, you can
> be sure that it won't make it into the released version.
And, btw, I think there's a thread on the Cygwin list just now about
one such problem.