gcc/libstdc++-v3/include
Paolo Carlini b7ee72de2d re PR libstdc++/24704 (__gnu_cxx::__exchange_and_add is called even for single threaded applications)
2006-05-24  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/24704
	* include/bits/atomicity.h (__exchange_and_add_single,
	__atomic_add_single): New, single thread versions of the atomic
	functions.
	(__exchange_and_add_dispatch, __atomic_add_dispatch): New,
	depending on __GTHREADS and __gthread_active_p() dispatch either
	to the above or to the existing atomic functions.
	* include/ext/pool_allocator.h: Update callers.
	* include/ext/rc_string_base.h: Likewise.
	* include/bits/locale_classes.h: Likewise.
	* include/bits/basic_string.h: Likewise.
	* include/bits/ios_base.h: Likewise.
	* include/tr1/boost_shared_ptr.h: Likewise.
	* src/ios.cc: Likewise.
	* src/locale.cc: Likewise.
	* src/ios_init.cc: Likewise.

From-SVN: r114044
2006-05-24 16:37:42 +00:00
..
backward c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
bits re PR libstdc++/24704 (__gnu_cxx::__exchange_and_add is called even for single threaded applications) 2006-05-24 16:37:42 +00:00
c All files: Update FSF address. 2005-08-17 02:28:44 +00:00
c_compatibility All files: Update FSF address. 2005-08-17 02:28:44 +00:00
c_std cmath.tcc: Use _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE. 2006-02-22 02:26:47 +00:00
debug re PR libstdc++/27199 (ptrdiff_t and size_t outside of namespace std) 2006-04-23 14:54:26 +00:00
ext re PR libstdc++/24704 (__gnu_cxx::__exchange_and_add is called even for single threaded applications) 2006-05-24 16:37:42 +00:00
std re PR libstdc++/25482 (Specialize (overload) std::copy/find for streambuf iterators) 2006-03-21 12:25:11 +00:00
tr1 re PR libstdc++/24704 (__gnu_cxx::__exchange_and_add is called even for single threaded applications) 2006-05-24 16:37:42 +00:00
Makefile.am cmath: Add atan2 and pow bits; add using declarations. 2006-03-10 13:24:57 +00:00
Makefile.in cmath: Add atan2 and pow bits; add using declarations. 2006-03-10 13:24:57 +00:00
stdc++.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00