gcc/libstdc++-v3
François Dumont afe96d415d debug.cc: Introduce a mutex pool in get_safe_base_mutex.
2010-11-25  François Dumont  <francois.cppdevs@free.fr>

	* src/debug.cc: Introduce a mutex pool in get_safe_base_mutex.
	Move code used to manipulate sequence safe iterators from safe
	iterator methods to safe sequence ones. Remove usage of safe iterator
	mutex, keep _Safe_iterator_base::_M_get_mutex for library backward
	binary compatibility.
	* src/Makefile.am: Build debug.cc in gnu++0x mode for _Hash_impl usage.
	* src/Makefile.in: Regenerate
	* include/debug/safe_base.h: Add _Safe_iterator_base _M_invalidate
	and _M_reset. Add _Safe_sequence_base _M_attach, _M_attach_single,
	_M_detach and _M_detach_single.
	* include/debug.safe_iterator.h, safe_iterator.tcc: Remove
	_Safe_iterator _M_invalidate and _M_invalidate_single. Implement all
	methods in terms of normal iterators rather than safe ones.
	* include/debug/safe_sequence.h: Replace _Safe_sequence
	_M_transfe_iter with _M_transfer_from_if taking the source sequence
	and a predicate signaling when a safe iterator shall be transfered.
	Add _Equal_to predicate.
	* include/debug/safe_sequence.tcc: New.
	* include/Makefile.am: Adjust.
	* include/Makefile.in: Regenerate.
	* include/debug/forward_list: Swap safe iterators in move constructor.
	Do not invalidate before begin in _M_invalidate_all method.
	Reimplement safe methods using normal iterators rather than safe ones.
	* include/debug/set.h, unordered_map, multiset.h, vector,
	unordered_set, deque, map.h, list, multimap.h: Reimplement safe method
	using normal iterators rather than safe ones.
	* testsuite/23_containers/forward_list/debug/clear.cc, swap.cc,
	move_constructor.cc, splice_after.cc, splice_after1.cc,
	splice_after2.cc, splice_after3.cc, splice_after4.cc: New.
	* testsuite/23_containers/vector/debug/multithreaded_swap.cc: New.

From-SVN: r167152
2010-11-25 20:53:39 +00:00
..
config libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
doc user.cfg.in: Adjust scanned includes. 2010-11-08 23:12:24 +00:00
include debug.cc: Introduce a mutex pool in get_safe_base_mutex. 2010-11-25 20:53:39 +00:00
libsupc++ initializer_list: Decorate with constexpr. 2010-11-01 21:31:50 -04:00
po gc++filt.m4: New file. 2010-07-02 10:05:49 +00:00
python re PR libstdc++/45999 (runtime error in std::vector python pretty printer.) 2010-11-01 21:28:44 +00:00
scripts re PR libstdc++/45863 (FAIL: libstdc++-abi/abi_check) 2010-10-06 17:01:11 +00:00
src debug.cc: Introduce a mutex pool in get_safe_base_mutex. 2010-11-25 20:53:39 +00:00
testsuite debug.cc: Introduce a mutex pool in get_safe_base_mutex. 2010-11-25 20:53:39 +00:00
acinclude.m4 acinclude.m4 (GLIBCXX_ENABLE): Properly quote argument to AC_HELP_STRING. 2010-10-04 08:49:59 +00:00
aclocal.m4 Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
ChangeLog debug.cc: Introduce a mutex pool in get_safe_base_mutex. 2010-11-25 20:53:39 +00:00
ChangeLog-1998 Move entries for 1998 and 1999 out of ChangeLog-2000 and into new 2005-05-24 23:20:39 +00:00
ChangeLog-1999 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2000 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2001
ChangeLog-2002 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2003 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2004 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2005 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2006 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2007 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2008 2009-04-13 Paolo Carlini <paolo.carlini@oracle.com> 2009-04-13 14:41:54 +00:00
ChangeLog-2009 Move 2009 ChangeLog to ChangeLog-2009. 2010-01-01 09:08:32 -08:00
config.h.in acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): Remove. 2010-07-27 10:36:50 +00:00
configure acinclude.m4 (GLIBCXX_ENABLE): Properly quote argument to AC_HELP_STRING. 2010-10-04 08:49:59 +00:00
configure.ac acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): Remove. 2010-07-27 10:36:50 +00:00
configure.host re PR target/45693 (All Tru64 UNIX C++ EH tests fail) 2010-11-02 16:16:22 +00:00
crossconfig.m4 config.gcc: Removed *-*-solaris2.7* from list of obsolete configurations. 2010-04-12 19:01:36 +00:00
fragment.am re PR libstdc++/32666 (FAIL: abi_check hppa) 2009-01-15 20:02:11 +00:00
linkage.m4 re PR libstdc++/32666 (FAIL: abi_check hppa) 2009-01-15 20:02:11 +00:00
Makefile.am Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 13:41:50 +00:00
Makefile.in gc++filt.m4: New file. 2010-07-02 10:05:49 +00:00
README mainpage.html: Add in corrected links. 2008-02-12 02:10:57 +00:00

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.