dev  

Re: svn commit: r644364 - in /stdcxx/trunk: src/locale_global.cpp tests/localization/22.locale.statics.mt.cpp

Martin Sebor
Thu, 03 Apr 2008 15:39:20 -0700

Eric Lemings wrote:
-----Original Message-----
From: Martin Sebor [EMAIL PROTECTED] Sent: Thursday, April 03, 2008 1:02 PM
To: dev@stdcxx.apache.org
Subject: Re: svn commit: r644364 - in /stdcxx/trunk: src/locale_global.cpp tests/localization/22.locale.statics.mt.cpp

...
__rw_setlocale code. The fix to locale::global() will then
be to add

     _RWSTD_MT_GUARD (__rw_setlocale::_C_mutex);

at the top of the function.

You mean `_RWSTD_MT_GUARD (__rw_setlocale_mutex)' ?

I was suggesting to make __rw_setlocale_mutex a static member
of __rw_setlocale and rename it to _C_mutex. But this will
work too.

Martin