Andreas Tobler <a.tobler@schweiz.ch>
* src/locale.cc (locale::_S_initialize): Workaround a confusion
of the use of the gthr API when __gthread_active_p() returns true.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72458
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-10-14 Petur Runolfsson <peturr02@ru.is>
+ Andreas Tobler <a.tobler@schweiz.ch>
+
+ * src/locale.cc (locale::_S_initialize): Workaround a confusion
+ of the use of the gthr API when __gthread_active_p() returns true.
+
2003-10-12 Petur Runolfsson <peturr02@ru.is>
Paolo Carlini <pcarlini@unitus.it>
#ifdef __GTHREADS
if (__gthread_active_p())
__gthread_once(&_S_once, _S_initialize_once);
- else
#endif
- {
- if (!_S_classic)
- _S_initialize_once();
- }
+ if (!_S_classic)
+ _S_initialize_once();
}
void