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=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 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=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 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Clearing O_NONBLOCK from a pipe may lose data References: <20150222220747 DOT 789401d2 AT tukaani DOT org> <20150223105653 DOT GG437 AT calimero DOT vinschen DOT de> <20150223122345 DOT GM437 AT calimero DOT vinschen DOT 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