Re: r227487 breaks C++ programs that use __isthreaded

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Fri, 2 Dec 2011 13:24:25 +0200
On Thu, Dec 01, 2011 at 04:23:11PM -0500, David Schultz wrote:
> On Thu, Dec 01, 2011, George Liaskos wrote:
> > Hello
> > 
> > One example is Google's tcmalloc [1], is this behaviour intended?
> > 
> > [1] http://code.google.com/p/google-perftools/source/browse/trunk/src/maybe_threads.cc
> 
> This code uses an unportable workaround for a bug that I believe
> was fixed in r227999.  Using internal names starting with a double
> underscore isn't supported.
> 
> Separately, I'm still hoping that the namespace polution
> introduced in r227487 gets fixed...
I handled the pthread_once mess in libunwind without relying on
__isthreaded, but I indeed only needed once working.

http://git.savannah.gnu.org/cgit/libunwind.git/commit/?id=08077a4962c4e606598f9f0e54b515b3c882be10

Received on Fri Dec 02 2011 - 10:24:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:21 UTC