Eric Lemings wrote:
-----Original Message-----
From: Martin Sebor [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 1:02 PM
To: [email protected]
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

Reply via email to