gcc/libstdc++-v3/config
Benjamin Kosnik f83295bafc re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale())
2004-03-06  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/12658
	* src/locale_init.cc (locale::locale): Lock critical regions with
	external mutexes.
	(locale::global): Same.
	* include/bits/concurrence.h (__glibcxx_mutex_define_initialized):
	Add in once bits for cases without __GTHREAD_MUTEX_INIT.
	(__glibcxx_mutex_lock): Same.

	* config/cpu/generic/atomicity.h: Remove
	_GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h.
	* src/misc-inst.cc: Move all locking bits out of this file.

	* config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK.
	* src/misc-inst.cc: Same.
	* config/cpu/hppa/atomicity.h: Same.

	* config/linker-map.gnu: Remove types in the signature of atomic
	exports, as they may vary.

From-SVN: r79043
2004-03-07 01:32:43 +00:00
..
abi Revert previous change to config/abi/*/baseline_symbols.txt. 2004-02-05 07:25:58 +00:00
cpu re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale()) 2004-03-07 01:32:43 +00:00
io basic_file_stdio.cc (__gnu_internal::xwritev): Rewrite, avoiding recursion. 2004-02-18 08:36:27 +00:00
locale locale_facets.h (class money_base): Add { _S_minus, _S_zero, _S_end } enum, _S_atoms. 2004-02-21 09:26:35 +00:00
os re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale()) 2004-03-07 01:32:43 +00:00
linker-map.dummy acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version. 2002-02-20 22:10:39 +00:00
linker-map.gnu re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale()) 2004-03-07 01:32:43 +00:00