incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: svn commit: r644364 - in /stdcxx/trunk: src/locale_global.cpp tests/localization/22.locale.statics.mt.cpp
Date Thu, 03 Apr 2008 22:38:48 GMT
Eric Lemings wrote:
>  
> 
>> -----Original Message-----
>> From: Martin Sebor [mailto:sebor@roguewave.com] 
>> 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


Mime
View raw message