gcc/libstdc++-v3/include
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
..
backward Makefile.am (bits_headers): Remove allocator_traits.h. 2004-01-29 00:18:40 +00:00
bits re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale()) 2004-03-07 01:32:43 +00:00
c
c_compatibility
c_std acconfig.h: Add _GLIBCXX_USE_C99_MATH. 2003-12-29 19:26:16 +00:00
debug re PR libstdc++/13838 (std::bitset<>::operator |= error with -D_GLIBCXX_DEBUG) 2004-01-24 01:25:37 +00:00
ext re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale()) 2004-03-07 01:32:43 +00:00
std re PR libstdc++/14078 (Manipulators are slow) 2004-02-11 12:08:23 +00:00
Makefile.am Support automake 1.8.2 2004-03-02 18:30:08 +00:00
Makefile.in Support automake 1.8.2 2004-03-02 18:30:08 +00:00
stdc++.h