------- Comment #22 from bert dot hubert at netherlabs dot nl 2006-05-22 05:20 ------- Subject: Re: __gnu_cxx::__exchange_and_add is called even for single threaded applications
On Sun, May 21, 2006 at 08:28:45PM -0000, pcarlini at suse dot de wrote: > ------- Comment #21 from pcarlini at suse dot de 2006-05-21 20:28 ------- > Yes, the audit trail doesn't say that in private mail with Loren we agreed > that > for now we only want to minimally take into account --enable-threads, that is > exploit the __GTHREADS macro, consistently with other parts of the library > (like the allocators). I'm going to implement that. This would mean a non-enable-threads compiled libstdc++ would skip the calls to __exchange_and_add? And to clarify, there would be no other way to skip these calls except making a separate non-threaded libstdc++? It would work for me, but I'd like to know. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24704