From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9203 invoked by alias); 22 Dec 2009 10:09:15 -0000 Received: (qmail 9103 invoked by uid 48); 22 Dec 2009 10:09:05 -0000 Date: Tue, 22 Dec 2009 10:09:00 -0000 Message-ID: <20091222100905.9102.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/40088] Creating a std::ostringstream object locks a global mutex In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo dot carlini at oracle dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg02083.txt.bz2 ------- Comment #14 from paolo dot carlini at oracle dot com 2009-12-22 10:09 ------- I think this PR can be closed: if the program doesn't change the global locale the mutex is not used anymore, is only incremented a reference count. As an enhancement we can do better, indeed, but the issues are known by now. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40088