X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 20 Jul 2009 10:45:33 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: WCONTINUED/WIFCONTINUED Message-ID: <20090720144533.GD29200@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com 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> <6910a60907200708w630d232bw6bc422b04856e88c AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6910a60907200708w630d232bw6bc422b04856e88c@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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 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