gcc/libstdc++-v3/testsuite/util
Paolo Carlini eebbe2c70e re PR libstdc++/29496 (_M_invalidate function is not thread-safe in GLIBCXX_DEBUG mode)
2006-11-11  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/29496
	* include/debug/safe_base.h (_Safe_sequence_base::_M_get_mutex,
	_Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single):
	New.
	* src/debug.cc: Define the latter.
	(_Safe_sequence_base::_M_detach_all, _M_detach_singular,
	_M_revalidate_singular, _M_swap): Use the mutex.
	(_Safe_iterator_base::_M_attach, _M_detach): Adjust, forward to the
	*_single version.
	* include/debug/safe_iterator.h (_Safe_iterator<>::_M_attach_single,
	_M_invalidate_single): New.
 	* include/debug/safe_iterator.tcc: Define.
	(_Safe_iterator<>::_M_invalidate): Adjust, forward to
	_M_invalidate_single.
	* include/debug/safe_sequence.h (_Safe_sequence<>::_M_invalidate_if,
	_M_transfer_iter): Use the mutex, adjust, forward to the *_single
	versions of _M_invalidate and _M_attach.
	* config/abi/pre/gnu.ver (_Safe_sequence_base::_M_get_mutex,
	_Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single):
	Add @GLIBCXX_3.4.10; adjust.
	* configure.ac (libtool_VERSION): To 6:10:0.
	* testsuite/util/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.10.
	* configure: Regenerate.

From-SVN: r118701
2006-11-11 17:32:12 +00:00
..
common_type typelist.h (type_to_type): Remove. 2006-09-28 01:23:58 +00:00
hash_fn
io
native_type native_pq_tag.hpp: Remove. 2006-10-03 14:26:14 +00:00
performance pop_test.hpp: Correct typo. 2006-10-04 07:52:14 +00:00
regression native_pq_tag.hpp: Remove. 2006-10-03 14:26:14 +00:00
rng res_mng: Remove. 2006-09-19 02:33:21 +00:00
statistic native_pq_tag.hpp: Remove. 2006-10-03 14:26:14 +00:00
testsuite_abi_check.cc
testsuite_abi.cc re PR libstdc++/29496 (_M_invalidate function is not thread-safe in GLIBCXX_DEBUG mode) 2006-11-11 17:32:12 +00:00
testsuite_abi.h
testsuite_allocator.cc testsuite_allocator.h (allocation_tracker): To tracker_allocator_counter. 2006-10-03 17:01:57 +00:00
testsuite_allocator.h testsuite_allocator.h (allocation_tracker): To tracker_allocator_counter. 2006-10-03 17:01:57 +00:00
testsuite_character.cc
testsuite_character.h
testsuite_common_types.h typelist.h (type_to_type): Remove. 2006-09-28 01:23:58 +00:00
testsuite_hooks.cc
testsuite_hooks.h
testsuite_io.h
testsuite_iterators.h
testsuite_performance.h
testsuite_shared.cc
testsuite_tr1.h type_traits (add_reference): Robustify vs reference to void. 2006-09-22 15:54:52 +00:00
testsuite_visualization.h