Re: r227487 breaks C++ programs that use __isthreaded
--cFl62NrZ2OkwVNR5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Dec 01, 2011 at 04:23:11PM -0500, David Schultz wrote:
> On Thu, Dec 01, 2011, George Liaskos wrote:
> > Hello
> >=20
> > One example is Google's tcmalloc [1], is this behaviour intended?
> >=20
> > [1] http://code.google.com/p/google-perftools/source/browse/trunk/src/m=
aybe_threads.cc
>=20
> 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.
>=20
> 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=3D08077a4962c4e60=
6598f9f0e54b515b3c882be10
--cFl62NrZ2OkwVNR5
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
iEYEARECAAYFAk7YtWkACgkQC3+MBN1Mb4jWyACfQ84MixkR5i4LtCHXO2bNatRs
kAIAoKAqibh+6WTLgQyXHVOZlTYqwe6l
=nM1F
-----END PGP SIGNATURE-----
--cFl62NrZ2OkwVNR5--
討論串 (同標題文章)
完整討論串 (本文為第 3 之 4 篇):