This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++, threads and cvs-gcc
- To: Dennis Bjorklund <db at zigo dot dhs dot org>
- Subject: Re: libstdc++, threads and cvs-gcc
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 29 Apr 2001 14:20:37 +0200
- Cc: <gcc at gcc dot gnu dot org>
- Organization: CodeSourcery, LLC
- References: <Pine.LNX.4.30.0104282037380.11868-100000@merlin.zigo.dhs.org>
Dennis Bjorklund <db@zigo.dhs.org> writes:
| What is the status about thread-safty and gcc (3.0).
As far as V3 is concerned, there is no formal investigation leading
to the conclusion that std::string is thread safe. Efforts are being
put to make it so but we're far from the end of the story.
[...]
| at /usr/include/g++-3/std/bastring.h:114
| 114 void release () { if (--ref == 0) delete this; }
The old string is known not to be thread safe.
[...]
| If I get the cvs gcc, would it work then?
I can't tell but there is hope that it might be better in that
respect.
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com