Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 44609 invoked from network); 3 Apr 2008 22:39:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2008 22:39:19 -0000 Received: (qmail 69403 invoked by uid 500); 3 Apr 2008 22:39:19 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 69363 invoked by uid 500); 3 Apr 2008 22:39:19 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 69334 invoked by uid 99); 3 Apr 2008 22:39:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 15:39:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.roguewave.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 22:38:29 +0000 Received: from nebula.bco.roguewave.com ([10.70.3.27]) by moroha.roguewave.com (8.13.6/8.13.6) with ESMTP id m33MclXL009064 for ; Thu, 3 Apr 2008 22:38:48 GMT Message-ID: <47F55C78.4050309@roguewave.com> Date: Thu, 03 Apr 2008 16:38:48 -0600 From: Martin Sebor Organization: Rogue Wave Software, Inc. User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: dev@stdcxx.apache.org Subject: Re: svn commit: r644364 - in /stdcxx/trunk: src/locale_global.cpp tests/localization/22.locale.statics.mt.cpp References: <20080403153258.1820A1A9838@eris.apache.org> <47F4FDDE.7070109@roguewave.com> <47F50E8F.6000600@roguewave.com> <47F529B4.4020303@roguewave.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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