X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:in-reply-to
	:references:mime-version:content-type:content-transfer-encoding;
	 q=dns; s=default; b=O30HGfgnTOEHKWt5VFA7HMFISaKPbSFvFUUNBXgdoYD
	CRwbr6Uu3EzpYSkHIDIbwavM3LozQH5BI+8bWR1s7uqPDr2bAraqN3yWZu9Dt/oz
	VaFcRhnvmuLly4cONaEKFEGQYqYCmwerpl7T8wUps/CNvHsS956iopqxvVqjY+A0
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:in-reply-to
	:references:mime-version:content-type:content-transfer-encoding;
	 s=default; bh=2+z/6F9QXRe1iVlh5MFmQxDiq10=; b=pz360KyHqRz5sxlLT
	cy6P1bVTD9nAkyb6tIW/ZW5CHJzr8WF0eQdMwBs/Av8y6IyQgVoGcIVNjmN7gPbR
	jRf+eRcDWHKwffHslPMuW+Di/Nxwiuk6n3jeDTL9izfbTF1ddlttodxlJP+L4iuw
	YoTQvz1VUaxZQ2RYtnINDIpmpY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_DUL,SPF_PASS autolearn=ham version=3.3.2
X-HELO: conuserg005-v.nifty.com
X-Nifty-SrcIP: [121.93.68.199]
Date: Thu, 28 May 2015 21:44:09 +0900
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: cygwin-2 process handling
Message-Id: <20150528214409.269b5c2bc3eca9dbd888d032@nifty.ne.jp>
In-Reply-To: <20150528210932.3ffc9662998ff7ba9983990a@nifty.ne.jp>
References: <1573487218.1490468.1431969356192.JavaMail.yahoo@mail.yahoo.com>	<555B6F71.4040906@cornell.edu>	<555B7E03.40404@cornell.edu>	<20150521205357.2c125b3bcaf877d0843b52b1@nifty.ne.jp>	<20150527122312.GF16927@calimero.vinschen.de>	<20150527151734.GM16927@calimero.vinschen.de>	<20150528114728.GA27014@calimero.vinschen.de>	<20150528210932.3ffc9662998ff7ba9983990a@nifty.ne.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hi Corinna,

On Thu, 28 May 2015 21:09:32 +0900
Takashi Yano wrote:

> On Thu, 28 May 2015 13:47:28 +0200
> Corinna Vinschen wrote:
> 
> > I created another version of your patch which avoids duplicating the
> > tested handle and makes the test-and-close-handle operation atomic:
> 
> > Does that look ok?  It fixes the reported problem for me.
> 
> Oops! I have just sent another patch.

Your patch also works nicely for me.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

--
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

