Re: r227487 breaks C++ programs that use __isthreaded

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 12 Dec 2011 13:29:41 -0500
On Thursday, December 01, 2011 4:23:11 pm 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.

I still think 227999 is wrong and would prefer that once actually worked,
but that has fallout for libstdc++.  libc has an internal _once() that
always works.

-- 
John Baldwin
Received on Mon Dec 12 2011 - 17:50:13 UTC

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