This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/13583] [3.3/3.4/3.5 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: 17 Mar 2004 19:48:44 -0000
- Subject: [Bug libstdc++/13583] [3.3/3.4/3.5 Regression] __use_cache not threadsafe
- References: <20040106121715.13583.peturr02@ru.is>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bkoz at gcc dot gnu dot org 2004-03-17 19:48 -------
It is believed this can be fixed without messing with the libstdc++ ABI.
Something like the __glibcxx_mutex_lock bits from locale::locale and
locale::global can be used, or we can do this right and do something equivalent
with RAII.
So, this is lower-priority than it looks at first glance.
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13583