Re: [PATCH 2/2] Cygwin: fork: Remember child not before success.

2019-05-02 Thread Michael Haubenwallner
On 4/30/19 6:07 PM, Corinna Vinschen wrote: > On Apr 30 09:09, Michael Haubenwallner wrote: >> Do not remember the child before it was successfully initialized, or we >> would need more sophisticated cleanup on child initialization failure, >> like cleaning up the process table and suppressing

Re: [PATCH 2/2] Cygwin: fork: Remember child not before success.

2019-04-30 Thread Corinna Vinschen
Hi Michael, On Apr 30 09:09, Michael Haubenwallner wrote: > Do not remember the child before it was successfully initialized, or we > would need more sophisticated cleanup on child initialization failure, > like cleaning up the process table and suppressing SIGCHILD delivery > with multiple

[PATCH 2/2] Cygwin: fork: Remember child not before success.

2019-04-30 Thread Michael Haubenwallner
Do not remember the child before it was successfully initialized, or we would need more sophisticated cleanup on child initialization failure, like cleaning up the process table and suppressing SIGCHILD delivery with multiple threads ("waitproc") involved. --- winsup/cygwin/fork.cc | 33