From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24836 invoked by alias); 17 Sep 2003 17:57:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 24800 invoked from network); 17 Sep 2003 17:57:11 -0000 Received: from unknown (HELO esds.vss.fsi.com) (66.136.174.212) by sources.redhat.com with SMTP; 17 Sep 2003 17:57:11 -0000 Received: from eos.vss.fsi.com (eos [198.51.27.61]) by esds.vss.fsi.com (8.11.6+Sun/8.9.1) with ESMTP id h8HHvAs16735; Wed, 17 Sep 2003 12:57:10 -0500 (CDT) Received: from localhost (ford@localhost) by eos.vss.fsi.com (8.11.6+Sun/8.11.6) with ESMTP id h8HHvAL28061; Wed, 17 Sep 2003 12:57:10 -0500 (CDT) X-Authentication-Warning: eos.vss.fsi.com: ford owned process doing -bs Date: Wed, 17 Sep 2003 18:39:00 -0000 From: Brian Ford X-X-Sender: ford@eos To: cygwin@cygwin.com cc: newlib@sources.redhat.com Subject: Re: setvbuf/setlinebuf issue Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-09/txt/msg01161.txt.bz2 Jan Jaeger wrote here: http://www.cygwin.com/ml/cygwin/2003-09/msg01159.html > The issue appears related to the use of the pthread library, where is > almost appears if every thread now has its own streams buffer, rather > then a shared buffer as the threading model dictates. > This problem appears analogous to the at_exit problem in newlib fixed by Thomas Pfaff here: http://sources.redhat.com/ml/newlib/2003/msg00527.html I assume a similar fix is in order, but I don't currently have to time to cook one up and test it. Is anyone else game? I'll give it a try when I free up if no one else gets there first. BTW, a pass through newlib looking for other similar occurences appears to be in order. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/