This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: BUG in libstdc++ ... libio ... pthreads
- To: libstdc++@sourceware.cygnus.com
- Subject: Re: BUG in libstdc++ ... libio ... pthreads
- From: Nathan Myers <ncm@best.com>
- Date: Fri, 14 May 1999 00:14:31 -0700 (PDT)
Andreas Gruenbacher wrote:
> What's the benefit of having any file locking code in the library at the
> current state?
libio itself has support for threads, but the iostream code
on top of it does not.
> Is anybody working on thread safety currently?
I'm sure a lot of people would like the answer to a different
question: who would like to work on the thread-safe iostreams?
Everybody interested, announce and join in!
C++ iostreams has a better model for thread safety than stdio,
because there is a natural place to put locking, in the "sentry"
objects.
Nathan Myers
ncm@cantrip.org