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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=JlqMhndUMYxkkDoK6zlrRZwHcwpEI6PVJccEvr1d0fQ
	FZS+OI5UbYSo/TTKQnqhYhagVvqkq95dxjkNOsfWMHlOvOFweR+4CPRXRO21VjRy
	RpbXUm2U9zszQk7UskPdNotq1NYvDpaOrfRHYHpFYWqBuVGAT8V+ouJw48GI8WqE
	=
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=TVrE3wOyeuXaSvlGRj2DvEV1iCY=; b=w/+4Hl9XkO5fnK3su
	aOOk+hMFIgAxLUlWUr/5uncRhrs1DK0NUnm6QIU0UvuhsJECTk5Pk9DBqlppUPR0
	nzV5D8+qtNURILtrTZIvPPOMN8Ssqi9uD4Ro+l6PERG2DkKtF6p3foHootQ8jDA5
	kwC7cXeJvyMV5KB2YDXtj4rShc=
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=2.9 required=5.0 tests=AWL,BAYES_40,FOREIGN_BODY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: mout.kundenserver.de
Message-ID: <54EC2566.4030703@towo.net>
Date: Tue, 24 Feb 2015 08:16:54 +0100
From: Thomas Wolff <towo@towo.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Clearing O_NONBLOCK from a pipe may lose data
References: <20150222220747.789401d2@tukaani.org> <20150223105653.GG437@calimero.vinschen.de> <20150223122345.GM437@calimero.vinschen.de>
In-Reply-To: <20150223122345.GM437@calimero.vinschen.de>
X-TagToolbar-Keys: D20150224081654073
Content-Type: text/plain; charset=utf-8; format=flowed
X-UI-Out-Filterresults: notjunk:1;
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t1O8onYx023780

Lasse Collin had written.
> ... the possibility of EINTR is mentioned for specific commands and F_SETFL isn't among them.
A subtle and maybe minor but valid objection.

Am 23.02.2015 um 13:23 schrieb Corinna Vinschen:
> On Feb 23 11:56, Corinna Vinschen wrote:
>> On Feb 22 22:07, Lasse Collin wrote:
>>> Alternative idea: Would there be a significant downside if Cygwin
>>> remembered if non-blocking mode was enabled at some point and close()
>>> would use that flag instead of the current (non)blocking status to
>>> determine if the background thread hack should be used?
>> No, that should be doable with very minor effort.
> That's still an option, of course.
I think that sounds like a solution.
------
Thomas

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
http://www.avast.com


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


