This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libstdc++, threads and cvs-gcc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]