This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/13583] [3.4/4.0/4.1 Regression] __use_cache not threadsafe
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Sep 2005 18:54:59 -0000
- Subject: [Bug libstdc++/13583] [3.4/4.0/4.1 Regression] __use_cache not threadsafe
- References: <20040106121715.13583.peturrun@internet.is>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bkoz at gcc dot gnu dot org 2005-09-21 18:54 -------
Hey Ian. I haven't looked at this in a bit.
The problem with the posted patch is that we should not be exporting the mutex
objects. See the rest of the libstdc++ code for suggested usage.
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13583