[Bug libstdc++/24704] __gnu_cxx::__exchange_and_add is called even for single threaded applications
pcarlini at suse dot de
gcc-bugzilla@gcc.gnu.org
Mon May 22 14:44:00 GMT 2006
------- Comment #24 from pcarlini at suse dot de 2006-05-22 14:44 -------
Humm, maybe I (we ;) was wrong: I'm doing some benchmarks and it looks like the
cost of checking __gthread_active_p() compared to that of an atomic operation
is very small... More later.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24704
More information about the Gcc-bugs
mailing list