gcc/libstdc++-v3/include
Benjamin Kosnik 9982752346 re PR libstdc++/36801 (config/cpu/generic/atomicity_mutex/atomicity.h incorrectly relies on global constructor ordering)
2009-01-07  Benjamin Kosnik  <bkoz@redhat.com>
	    Jonathan Larmour  <jifl@eCosCentric.com>

	PR libstdc++/36801
	* config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
	New.
	(__gnu_cxx::__exchange_and_add): Use it.
	* src/atomic.cc (get_atomic_mutex): New.
	* src/debug.cc (get_safe_base_mutex): New.
	* src/locale.cc (get_locale_cache_mutex): New.
	* src/mt_allocator.cc (get_freelist): New.
	(get_freelist_mutex): New.
	* src/pool_allocator.cc (get_palloc_mutex): New.
	* include/std/mutex (__once_functor_lock): To
	(__get_once_functor_lock): ...this.
	* src/mutex.cc (__once_mutex): Don't export, use
	(get_once_mutex): ...this.
	* config/abi/pre/gnu.ver: Adjust exports.

From-SVN: r143182
2009-01-08 03:14:24 +00:00
..
backward backward_warning.h: Fix typo. 2008-06-30 10:48:48 +00:00
bits re PR libstdc++/38466 (Document std::pair vs. std::swap) 2009-01-07 13:00:48 +00:00
c Makefile.am (std_headers_rename): Remove. 2006-12-07 09:35:57 +00:00
c_compatibility cstdatomic: Update to N2798. 2008-12-12 17:10:16 +00:00
c_global cstdatomic: Remove assert include. 2008-12-16 01:28:46 +00:00
c_std tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out. 2008-05-26 02:19:57 +00:00
debug cstdatomic: Remove assert include. 2008-12-16 01:28:46 +00:00
ext re PR libstdc++/38720 (_Relative_pointer_impl invokes undefined behavior) 2009-01-04 19:51:18 +00:00
parallel cstdatomic: Remove assert include. 2008-12-16 01:28:46 +00:00
precompiled pointer.h: Add experimental support for non-standard pointer types in containers via the... 2008-11-07 15:26:25 +00:00
std re PR libstdc++/36801 (config/cpu/generic/atomicity_mutex/atomicity.h incorrectly relies on global constructor ordering) 2009-01-08 03:14:24 +00:00
tr1 re PR libstdc++/38421 (libstdc++-v3/include/tr1/ell_integral.tcc contains __ea identifier) 2008-12-06 10:25:24 +00:00
tr1_impl * include/tr1_impl/regex: Fix bad return statements and typos. 2009-01-06 22:00:25 +00:00
Makefile.am cstdatomic: Update to N2798. 2008-12-12 17:10:16 +00:00
Makefile.in cstdatomic: Update to N2798. 2008-12-12 17:10:16 +00:00