mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
locale.cc (locale::_S_initialize): Workaround a confusion of the use of the gthr API when...
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. Co-Authored-By: Andreas Tobler <a.tobler@schweiz.ch> From-SVN: r72458
This commit is contained in:
parent
caa55b1e67
commit
9dccaa6bb6
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
|
@ -395,13 +395,10 @@ namespace std
|
||||
#ifdef __GTHREADS
|
||||
if (__gthread_active_p())
|
||||
__gthread_once(&_S_once, _S_initialize_once);
|
||||
else
|
||||
#endif
|
||||
{
|
||||
if (!_S_classic)
|
||||
_S_initialize_once();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
locale::_M_coalesce(const locale& __base, const locale& __add,
|
||||
|
Loading…
Reference in New Issue
Block a user