X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 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 To: cygwin AT cygwin DOT com Subject: Re: cygwin-2 process handling Message-Id: <20150528214409.269b5c2bc3eca9dbd888d032@nifty.ne.jp> In-Reply-To: <20150528210932.3ffc9662998ff7ba9983990a@nifty.ne.jp> References: <1573487218 DOT 1490468 DOT 1431969356192 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com> <555B6F71 DOT 4040906 AT cornell DOT edu> <555B7E03 DOT 40404 AT cornell DOT edu> <20150521205357 DOT 2c125b3bcaf877d0843b52b1 AT nifty DOT ne DOT jp> <20150527122312 DOT GF16927 AT calimero DOT vinschen DOT de> <20150527151734 DOT GM16927 AT calimero DOT vinschen DOT de> <20150528114728 DOT GA27014 AT calimero DOT vinschen DOT de> <20150528210932 DOT 3ffc9662998ff7ba9983990a AT nifty DOT ne DOT 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 -- 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