This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/60645] locale::facet::_S_get_c_locale does not handle __gthread_once error codes.
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Mar 2014 10:38:22 +0000
- Subject: [Bug libstdc++/60645] locale::facet::_S_get_c_locale does not handle __gthread_once error codes.
- Auto-submitted: auto-generated
- References: <bug-60645-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60645
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Plus it is a question what to do if pthread_once fails, I mean, shall it just
assume that no threads will be used and initialize without synchronization?
Can't the initialization callback be already run when pthread_once fails?