Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2011 13:24:25 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        George Liaskos <geo.liaskos@gmail.com>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: r227487 breaks C++ programs that use __isthreaded
Message-ID:  <20111202112425.GQ50300@deviant.kiev.zoral.com.ua>
In-Reply-To: <20111201212311.GA83353@zim.MIT.EDU>
References:  <CANcjpOC49%2B6xibS6sgTCwyy0iPgvqscGk1EnNA8we5rSLZZXEA@mail.gmail.com> <20111201212311.GA83353@zim.MIT.EDU>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk7YtWkACgkQC3+MBN1Mb4jWyACfQ84MixkR5i4LtCHXO2bNatRs
kAIAoKAqibh+6WTLgQyXHVOZlTYqwe6l
=nM1F
-----END PGP SIGNATURE-----
help

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