This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17664] Crash in std::map when using _GLIBCXX_DEBUG with multithreading
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2004 23:44:55 -0000
- Subject: [Bug libstdc++/17664] Crash in std::map when using _GLIBCXX_DEBUG with multithreading
- References: <20040924220544.17664.lothar@xcerla.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-24 23:44 -------
Invalid as std::map is not multithreaded that way (you would have the same problem without
_GLIBCXX_DEBUG also as it is not done this way for either). What this is showing you is that you need to
add the write guard other wise you get a crash or wrong answers without _GLIBCXX_DEBUG.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17664