delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/20/10:45:58

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 <cgf-use-the-mailinglist-please AT cygwin DOT com>
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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019