[Bug libstdc++/60645] locale::facet::_S_get_c_locale does not handle __gthread_once error codes.

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 25 10:38:00 GMT 2014


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?



More information about the Gcc-bugs mailing list