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:date:from:to:cc:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=clPmhokABHYdV6r2FEPMzoSawQ+OWKWxurxmoXFNlKaCt4zwhDrZ7 | |
YgXpQFg2IbC7RsjfQOrbestoPo/rJbo9kENhurb4cMzxIK6hP6KmYdQBSi+hoDP4 | |
Ggjn9YXUgTaX5g6G/dCNHaW9WO1gfqBhNdTVAlDFn3IXpupZf+HRKQ= | |
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:cc:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=OXOLduQqh2GKlzIguRvYWJ0SsXw=; b=QuKrryYJ0FrtUuwiEVP8apkGzY/T | |
5aegSiHkFqlasZvHyMjzLNF/210XjjwllvPaCWBQcX43vOQ1Vzqvfu8YSaCJQe+r | |
9SzWsXE+fbTGvB3BKUGGBa34hMlbzDUzmesP2PUCaCHcqeIs3s0HB6mzbQ0GzowS | |
E0w/K5pMw2uzYdU= | |
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Tue, 24 Feb 2015 12:09:53 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Cc: | Lasse Collin <lasse DOT collin AT tukaani DOT org> |
Subject: | Re: Clearing O_NONBLOCK from a pipe may lose data |
Message-ID: | <20150224110953.GF437@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com, Lasse Collin <lasse DOT collin AT tukaani DOT org> |
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> <54EC2566 DOT 4030703 AT towo DOT net> |
MIME-Version: | 1.0 |
In-Reply-To: | <54EC2566.4030703@towo.net> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--OJWLbGElk4npXSe3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 24 08:16, Thomas Wolff wrote: > Lasse Collin had written. > >... the possibility of EINTR is mentioned for specific commands and F_SE= TFL isn't among them. > A subtle and maybe minor but valid objection. >=20 > 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. I applied a matching patch for this: https://cygwin.com/ml/cygwin-cvs/2015-q1/msg00079.html Please give it a try. If you're not set up to build your own Cygwin DLL, I will generate a new developer snapshot soon, probably today or tomorrow. Btw., did you have a chance to test the pthread_join change from https://cygwin.com/ml/cygwin/2015-02/msg00710.html in the meantime? Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --OJWLbGElk4npXSe3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU7FwBAAoJEPU2Bp2uRE+gPt4P+gIJIdEdPEKgXjfLzXYy2+E6 i0xF8hpsVk2Y0W70c0oIVHJh/vdePdbLTo1E6aWAqCnQKdocv52bqmmNFM7FW6Ca 9EYiq327j8rZWT6LB5BWHZ0+shRu3Xv9Bf5lN+2MTPgZp8PutVZYV9ToFqsyvIe+ OkocS5MLw2VhJJziHvcZeecimaA0EZ4z/FRwSc+usimpX5VHMgVnsdYKQYOUl4hF o/S9AvNecBez7nUWIvsSyoSourUikoCfzzpKaRi0ZreYSDsbLFx2cmQEfq9n4QDs wWI4NaHRTRId4haiHlVJO8tvxQhP8XOhSJosgU2eSfe7MO4RDOFx3enwFr6EPaCT LhykdqB7hVMHhCbVyv4j5OLNJdRklbyASV5WPKAdimAR4EfpKtUdGPYE8kFReD6I yZauUT103c0kAWCNJtAqfRCbFu+8x0I0EusgYU3OnHgj7qt+H32Hfteo3aif55O6 bR9TW+3k14dbl2pVEGmseHlOTwb3UN0o/VEfADdbWKVyb6EA8x6R3JO3Ve6rJA75 APGRYapF6n9DWvrFottNu1dNO9V+TuYZXEQvIoYgN9HDwgeiZX7Xxa/Yh0jazbB1 5bVtUdTdCqa5u3OeYnfn3qAIddOAA/C/S1Ok33KvAhIWb0OdrKD2YyLGgx5bMU7W 1Ur5fNzG4IznaenGF6nG =Fza3 -----END PGP SIGNATURE----- --OJWLbGElk4npXSe3--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |