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. Now all my clisp tests pass if I add a little sleep after every process invocation and the kill signal. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- 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