Commit 8f4c7b67 by Andreas Tobler Committed by Benjamin Kosnik

locale.cc (locale::_S_initialize): Re-apply workaround a confusion of the use of…

locale.cc (locale::_S_initialize): Re-apply workaround a confusion of the use of the gthr API when...


2003-10-18  Andreas Tobler  <a.tobler@schweiz.ch>

	* src/locale.cc (locale::_S_initialize): Re-apply workaround a
	confusion of the use of the gthr API when __gthread_active_p()
	returns true.

From-SVN: r72679
parent f74c81d5
2003-10-18 Andreas Tobler <a.tobler@schweiz.ch>
* src/locale.cc (locale::_S_initialize): Re-apply workaround a
confusion of the use of the gthr API when __gthread_active_p()
returns true.
2003-10-17 Benjamin Kosnik <bkoz@redhat.com> 2003-10-17 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am: Add new files. * src/Makefile.am: Add new files.
......
...@@ -143,12 +143,9 @@ namespace std ...@@ -143,12 +143,9 @@ namespace std
#ifdef __GTHREADS #ifdef __GTHREADS
if (__gthread_active_p()) if (__gthread_active_p())
__gthread_once(&_S_once, _S_initialize_once); __gthread_once(&_S_once, _S_initialize_once);
else
#endif #endif
{ if (!_S_classic)
if (!_S_classic) _S_initialize_once();
_S_initialize_once();
}
} }
// Definitions for static const data members of locale::_Impl // Definitions for static const data members of locale::_Impl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment