X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_42,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <20090719154913.GA12499@ednor.casa.cgf.cx> References: <6910a60907100049x47d2645cl1ce5930fb9034dce AT mail DOT gmail DOT com> <20090710162020 DOT GA20932 AT ednor DOT casa DOT cgf DOT cx> <20090719154913 DOT GA12499 AT ednor DOT casa DOT cgf DOT cx> Date: Mon, 20 Jul 2009 16:08:09 +0200 Message-ID: <6910a60907200708w630d232bw6bc422b04856e88c@mail.gmail.com> Subject: Re: WCONTINUED/WIFCONTINUED From: Reini Urban To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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. =A0It shouldn't be too hard*. > > It actually wasn't that hard. =A0My 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. --=20 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