gcc/libstdc++-v3/include
Jonathan Wakely efdb734755 re PR libstdc++/39909 (non-TLS version of std::call_once causes terminate)
2009-05-05  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR libstdc++/39909
	* include/std/mutex (__get_once_functor_lock, __get_once_mutex,
	__set_once_functor_lock_ptr): Replace global lock object with local
	locks on global mutex.
	* src/mutex.cc (__get_once_functor_lock, __get_once_mutex,
	__set_once_functor_lock_ptr): Likewise, keeping old function to
	preserve ABI.
	(__once_proxy): Use pointer to local lock if set, global lock
	otherwise.
	* config/abi/pre/gnu.ver: Add new symbols to new ABI version.
	* testsuite/util/testsuite_abi.cc: Add GLIBCX_3.4.12 version.
	* testsuite/30_threads/call_once/39909.cc: New.

From-SVN: r147137
2009-05-05 22:32:38 +01:00
..
backward condition_variable.cc (condition_variable, [...]): Mark throw() 2009-04-18 21:19:18 +00:00
bits array (at): Do not use builtin_expect. 2009-04-24 09:35:19 +00:00
c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
c_compatibility stdatomic.h (__atomic_flag_for_address): Use _GLIBCXX_NOTHROW. 2009-04-19 13:16:34 +00:00
c_global cstdlib (abort, [...]): Mark noreturn throw (). 2009-04-22 17:41:33 +00:00
c_std cstdlib (abort, [...]): Mark noreturn throw (). 2009-04-22 17:41:33 +00:00
debug pool_allocator.cc (_M_get_free_list, [...]): Mark throw () 2009-04-18 22:02:19 +00:00
ext array (at): Do not use builtin_expect. 2009-04-24 09:35:19 +00:00
parallel settings.h (get): Mark const. 2009-05-03 16:51:50 +00:00
precompiled Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
std re PR libstdc++/39909 (non-TLS version of std::call_once causes terminate) 2009-05-05 22:32:38 +01:00
tr1 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
tr1_impl functional_hash.h (explicit specializations of () operator): Mark pure. 2009-05-02 13:22:49 +00:00
Makefile.am Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
Makefile.in Makefile.am (${pch1a_output}): Use gnu++0x flags instead of debug. 2009-04-07 01:46:45 +00:00