delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/02/21:39:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 2 Nov 2001 21:39:22 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: pthread: thread switching bug?
Message-ID: <20011102213922.J31918@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BF35D9C143BCCC4EB63181B67C9320C804DEAD AT serv-075 DOT icon-germany DOT local>
Mime-Version: 1.0
In-Reply-To: <BF35D9C143BCCC4EB63181B67C9320C804DEAD@serv-075.icon-germany.local>
User-Agent: Mutt/1.3.21i

On Sat, Nov 03, 2001 at 12:50:06AM +0100, Heribert Dahms wrote:
>Hi Rob,
>
>I'd expect write() to be atomic, if "small" enough, but not print() or
>fprintf()!
>
>I once more cite APUE
>(Richard W. Steven's Advanced Programming in the UNIX Environment),
>chapter 10.6 Reentrant Functions:
>"Most implementations of the standard I/O library
>use global data structures in a nonreentrant way"

That is not true of newlib, AFAIK.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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