This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/40088] Creating a std::ostringstream object locks a global mutex
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2009 10:42:27 -0000
- Subject: [Bug libstdc++/40088] Creating a std::ostringstream object locks a global mutex
- References: <bug-40088-17695@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from paolo dot carlini at oracle dot com 2009-05-10 10:42 -------
David, are you aware of implementations not affected by this problem while
providing thread-safe locale::locale() and locale::global, thus much smarter in
the way ios_base deals with locale or you have a feeling it's just that a
thread-safe global locale doesn't play well with multi-threading?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40088