This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: pthread: thread switching bug?
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/