gcc/libstdc++-v3/include/bits
Loren J. Rittle 5e21803304 threads-no.h: Remove file.
* config/threads-no.h: Remove file.
	* config/threads-posix.h: Remove file.

	* acconfig.h (_GLIBCPP_USE_THREADS): Remove.
	(_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
	(_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
	* config.h.in: Regenerate.

	* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
	setup and use gthr*.h files.  In particular, make gthr.h files
	namespace-clean in the staging area (they don't have to be for
	libgcc.a).
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

	* src/Makefile.am (build_headers): Remove bits/c++threads.h
	and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
	* src/Makefile.in: Regenerate.

	* include/bits/c++config: Cleanup threading configuration macros.
	In particular, define __STL_GTHREADS macro which controls...
	* include/bits/stl_threads.h: ...a brand new gthr.h-based
        configuration here.

	* config/c_io_stdio.h: Include staged gthr.h instead of local
	thread configuration file.  Always use __gthread_mutex_t
	instead of __mutext_type (or int).
	* include/bits/std_fstream.h: Likewise.

	* docs/html/17_intro/howto.html: Remove placeholder comment in
	case this configuration patch didn't make it.  Add advice that
	section only applies if configured with --enable-threads.
	* docs/html/23_containers/howto.html: Reword to make clear
	that _PTHREADS is no longer required for any port to be
	correctly using STL with threads.  Add advice that section
	only applies if configured with --enable-threads.

Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>

From-SVN: r42998
2001-06-08 03:53:35 +00:00
..
basic_file.h basic_file.h (get_fileno): Remove. 2001-03-27 03:48:17 +00:00
basic_ios.h acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
basic_ios.tcc basic_ios.tcc: Formatting tweaks. 2001-06-06 01:31:58 +00:00
basic_string.h
basic_string.tcc * include/bits/basic_string.tcc (operator+): Fix thinko. 2001-03-15 08:46:23 +00:00
boost_concept_check.h boost_concept_check.h (_Mutable_ContainerConcept): Properly uglify member. 2001-04-14 09:46:13 +00:00
c++config threads-no.h: Remove file. 2001-06-08 03:53:35 +00:00
char_traits.h char_traits.h (move): Reverse qualification of memmove with std::. 2001-06-04 16:57:04 +00:00
codecvt.h std_cmath.h (std): Explicitly inject c99 names. 2001-04-26 02:23:52 +00:00
concept_check.h map_operators.cc: Add dg-excess-errors. 2001-04-18 01:06:05 +00:00
cpp_type_traits.h
fpos.h std_iosfwd.h: Remove string forward decls here. 2001-03-07 22:22:41 +00:00
fstream.tcc mkcheck.in (static_fail): Remove S_FLAG decoration on output. 2001-05-22 18:48:19 +00:00
functexcept.h
generic_shadow.h
gslice_array.h
gslice.h
indirect_array.h
ios_base.h basic_ios.tcc: Formatting tweaks. 2001-06-06 01:31:58 +00:00
istream.tcc istream.tcc: Include std_ostream.h. 2001-05-31 20:33:06 +00:00
limits_generic.h
locale_facets.h locale_facets.h (ctype<_CharT>): Add definitions for generic ctype virtuals. 2001-06-04 19:25:41 +00:00
locale_facets.tcc acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
localefwd.h std_streambuf.h: Remove cached locale facets. 2001-03-14 20:46:34 +00:00
mask_array.h
ostream.tcc acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
pthread_allocimpl.h
sbuf_iter.h acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
slice_array.h
slice.h
sstream.tcc
std_algorithm.h
std_bitset.h std_bitset.h (bitset::test): Fix __pos >= _Nb comparison; all positions must be < _Nb. 2001-06-04 17:42:22 +00:00
std_complex.h acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
std_deque.h
std_fstream.h threads-no.h: Remove file. 2001-06-08 03:53:35 +00:00
std_functional.h
std_iomanip.h
std_ios.h
std_iosfwd.h acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
std_iostream.h
std_istream.h istream.tcc: Include std_ostream.h. 2001-05-31 20:33:06 +00:00
std_iterator.h New concept checking implementation. 2001-04-03 00:26:58 +00:00
std_list.h
std_locale.h
std_map.h
std_memory.h New concept checking implementation. 2001-04-03 00:26:58 +00:00
std_numeric.h
std_ostream.h acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
std_queue.h [multiple changes] 2001-03-31 20:15:43 +00:00
std_set.h
std_sstream.h basic_ios.tcc: Small tweak. 2001-05-24 23:09:53 +00:00
std_stack.h
std_stdexcept.h
std_streambuf.h acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
std_string.h
std_utility.h
std_valarray.h std_valarray.h (valarray<>::operator[] const): Return a const reference. 2001-05-18 05:47:46 +00:00
std_vector.h [multiple changes] 2001-03-31 20:15:43 +00:00
stl_algo.h acconfig.h (_GLIBCPP_USE_C99): Add. 2001-04-20 08:59:25 +00:00
stl_algobase.h stl_algobase.h (equal): Use EqualOpConcept instead of EqualityComparableConcept. 2001-04-13 09:28:56 +00:00
stl_alloc.h
stl_bvector.h stl_bvector.h: Replace __ITERATOR_CATEGORY with __iterator_category. 2001-04-20 20:16:37 +00:00
stl_construct.h New concept checking implementation. 2001-04-03 00:26:58 +00:00
stl_deque.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_function.h
stl_heap.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_iterator_base_funcs.h stl_iterator_base_funcs.h (__advance): Fix. 2001-04-30 18:07:51 +00:00
stl_iterator_base_types.h stl_iterator_base_types.h: Fix typo 2001-04-03 20:40:26 +00:00
stl_iterator.h
stl_list.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_map.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_multimap.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_multiset.h re PR libstdc++/3034 (DR 214) 2001-06-04 17:50:18 +00:00
stl_numeric.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_pair.h PR libstdc++/3035 and PR libstdc++/3036 2001-06-04 18:04:52 +00:00
stl_pthread_alloc.h
stl_queue.h re PR libstdc++/3016 (stl_queue.h bugs wrt compliance) 2001-06-04 17:34:36 +00:00
stl_raw_storage_iter.h
stl_relops.h
stl_set.h re PR libstdc++/3034 (DR 214) 2001-06-04 17:50:18 +00:00
stl_stack.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_tempbuf.h
stl_threads.h threads-no.h: Remove file. 2001-06-08 03:53:35 +00:00
stl_tree.h
stl_uninitialized.h New concept checking implementation. 2001-04-03 00:26:58 +00:00
stl_vector.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
streambuf.tcc basic_file.h (get_fileno): Remove. 2001-03-27 03:48:17 +00:00
stringfwd.h std_iosfwd.h: Remove string forward decls here. 2001-03-07 22:22:41 +00:00
type_traits.h
valarray_array.h
valarray_array.tcc
valarray_meta.h