Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2011 13:29:41 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        George Liaskos <geo.liaskos@gmail.com>, David Schultz <das@freebsd.org>
Subject:   Re: r227487 breaks C++ programs that use __isthreaded
Message-ID:  <201112121329.41296.jhb@freebsd.org>
In-Reply-To: <20111201212311.GA83353@zim.MIT.EDU>
References:  <CANcjpOC49%2B6xibS6sgTCwyy0iPgvqscGk1EnNA8we5rSLZZXEA@mail.gmail.com> <20111201212311.GA83353@zim.MIT.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112121329.41296.jhb>