On Mon, Jul 20, 2009 at 04:08:09PM +0200, Reini Urban wrote: >2009/7/19 Christopher Faylor: >> On Fri, Jul 10, 2009 at 12:20:20PM -0400, Christopher Faylor wrote: >>>On Fri, Jul 10, 2009 at 09:49:59AM +0200, Reini Urban wrote: >>>>Any volunteer for WCONTINUED, WIFCONTINUED() for wait4() for the >>>>initial cygwin-1.7 release? >>>>See http://www.opengroup.org/onlinepubs/009695399/functions/wait.html >>>> >>>>Sorry, I'm not able to write this, but I have looked into wait.cc. >>> >>>I should be able to implement this. ?It shouldn't be too hard*. >> >> It actually wasn't that hard. ?My somewhat simple test case behaves >> the same as linux but I'll be there are corner conditions that I >> missed. >> >> It's in the latest snapshot: http://cygwin.com/snapshots/ > >Great! >WCONTINUED works now as expected in my first testcase, >just WSTOPPED is missing. > >So I've added >#define WSTOPPED WUNTRACED >to /usr/include/cygwin/wait.h, analog to linux.
WSTOPPED is a flag for the waitid() function. That is currently not implemented in Cygwin although it's on my todo. If something is mixing WSTOP with waitpid then I think I'd call that a bug. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple