delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/21/12:48:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 21 May 2004 11:19:40 -0500
From: Brian Ford <ford AT vss DOT fsi DOT com>
Reply-To: cygwin AT cygwin DOT com
To: John William <jw2357 AT hotmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: CYGWIN 1.5.9-1 - Is vprintf() not thread safe?
In-Reply-To: <BAY1-F44GxqymcgfyDy000249a4@hotmail.com>
Message-ID: <Pine.CYG.4.58.0405211113290.3524@fordpc.vss.fsi.com>
References: <BAY1-F44GxqymcgfyDy000249a4 AT hotmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

On Fri, 21 May 2004, John William wrote:

> >From: Brian Ford <ford AT SNIP>
> >To: John William <jw2357 AT SNIP>

http://cygwin.com/acronyms/#PCYMTNQREAIYR

> >IIRC, several thread safe stdio issues have been fixed recently, both in
> >Cygwin and in newlib.  Please try a recent Cygwin DLL snapshot:
> >
> >http://cygwin.com/snapshots/
> >
> >and report back.  Thanks.
>
> I tried the cygwin.dll snapshot dated 2004-05-20 and it still outputs
> interleaved text with multiple threads and vprintf()/vsprintf() crash when
> called from multiple threads and not protected with mutex_lock() and
> mutex_unlock() calls around them. This is on a dual-processor system, BTW.

How about posting a simple test case.  If you do so, I'll try and take a
look.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019