This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/29496] _M_invalidate function is not thread-safe in GLIBCXX_DEBUG mode
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2006 11:38:16 -0000
- Subject: [Bug libstdc++/29496] _M_invalidate function is not thread-safe in GLIBCXX_DEBUG mode
- References: <bug-29496-9884@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from pcarlini at suse dot de 2006-10-31 11:38 -------
To be honest, I don't think this code has been designed with thread safety in
mind. Fixing it completely after the fact is going to be very complex, I'm
afraid. I'll try to spend some more time on those issues, but if Doug, the
original author, doesn't provide any special hint, I'm afraid we have to live
with that or even, for consistency, remove the minimal MT support currently
present and add something clear to the documentation.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29496