Re: r227487 breaks C++ programs that use __isthreaded
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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 4 之 4 篇):