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=PDuHA5lZbkbh/s4DC/MGHCLYBUEwtd86le3UE2c+H2O 3HPlQ1njueYyMqKPg5nYsqgV5ZeRsQ3KsN1/4SYR2KkBAzWadtIjzIrrjWKRBpXT NACuOlZi3mVJDSGep43FEaBDGXCG4wVCoI53JdraXe9+BCHvjWaOjk1yhLd9lHvs = 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=XYu+0HMuWBiJWCzoqlDwyCDqjrs=; b=tH1mAlXO3IMBuVO0c IUYmxw0SfsirgyobLf3G4XLhT0QTVxcicG86mg0SQzjHV7iKlnB4ED66cXyD8Uo9 LqI8uh9dVUoZvx2E28gHmr8qAReAbsBYyQvamSN134Avmlqb/fDQkx7KygOnFJkY 15BVR0kvWAf3HBvB7WfMkxI/bk= 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: conuserg004-v.nifty.com X-Nifty-SrcIP: [121.93.68.199] Date: Thu, 28 May 2015 21:09:32 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Subject: Re: cygwin-2 process handling Message-Id: <20150528210932.3ffc9662998ff7ba9983990a@nifty.ne.jp> In-Reply-To: <20150528114728.GA27014@calimero.vinschen.de> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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. -- 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