www.delorie.com/archives/browse.cgi | search |
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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=Y41AhLvu7REpZMNPQsrQRmPWOhZYlwn3wlfRKRkndLu | |
QCDL28fjaAI4cWO3Ye4/3vIG5Gq+q5mwKtPWS7QCQs2hVrj5t2VfRqDnjr622X4v | |
MG8XPwDETOPrYQ5w3Q6gr6LY73jdVxBBBoUSjbqgr8Trw0nV7BqrSG0ZBi73U/UQ | |
= | |
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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=2wDUIeYMN2xUQTM5ZFwmDpd+/rA=; b=v8TbGvdEyhoDwfrhC | |
CGurYAW3EvwURvdTR/vq9bFq65JxCXS7YZgk1xr4xe1TmrCmKDOlvBk9mW2assoE | |
d7d8i7/VKGF9rYSZd8RSDnpkkk96r+S1Q6RqOoLj+jLLQKNuSHLmRkum7Rmpx9Nt | |
cDTuxZ15SQiUIfMvI2tIx8Ks10= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
X-HELO: | limerock04.mail.cornell.edu |
X-CornellRouted: | This message has been Routed already. |
Message-ID: | <555DD801.1080909@cornell.edu> |
Date: | Thu, 21 May 2015 09:05:05 -0400 |
From: | Ken Brown <kbrown AT cornell DOT edu> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cygwin-2 process handling |
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> |
In-Reply-To: | <20150521205357.2c125b3bcaf877d0843b52b1@nifty.ne.jp> |
X-IsSubscribed: | yes |
Hi Takashi, On 5/21/2015 7:53 AM, Takashi Yano wrote: > I was looking into this problem, and found the PeekNamedPipe() > call is blocked in fhandler_pty_master::close() when the problem > occurs. > > I had not noticed that, > > https://msdn.microsoft.com/en-us/library/windows/desktop/aa365779(v=vs.85).aspx > > says: >> The PeekNamedPipe function can block thread execution the same >> way any I/O function can when called on a synchronous handle in >> a multi-threaded application. > > I have made a patch attached to resolve this problem. Please have > a look. Thanks! That fixes it for me. Michael (OP), are you able to build cygwin1.dll and test it? Ken -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |