gcc/libstdc++-v3/testsuite/27_io
Benjamin Kosnik fa972243f6 re PR libstdc++/12855 (Thread safety problems in ios_base::Init)
2003-12-15  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/12855
	* include/bits/ios_base.h (Init::_S_ios_base_init): Change to
	_S_refcount, make atomic.
	* src/ios.cc: Adjust definition.
	* src/ios_init.cc (ios_base::Init::Init): Use __exchange_and_add,
	and __atomic_add.
	(ios_base::Init::~Init): Same.
	* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.

From-SVN: r74642
2003-12-15 19:03:13 +00:00
..
basic_filebuf 13171-2.cc: Tweak for a few small problems (fix timings, use VERIFY..) 2003-11-29 17:42:16 +00:00
basic_fstream re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
basic_ifstream re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
basic_ios basic_ios.h (basic_ios::setstate): Revert. 2003-12-02 02:48:51 +00:00
basic_iostream locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
basic_istream re PR libstdc++/9371 (Bad exception handling in i/ostream::operator>>/<<(streambuf*)) 2003-11-27 08:14:25 +00:00
basic_istringstream locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
basic_ofstream re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
basic_ostream re PR libstdc++/9371 (Bad exception handling in i/ostream::operator>>/<<(streambuf*)) 2003-11-27 08:14:25 +00:00
basic_ostringstream locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
basic_streambuf re PR libstdc++/13007 (basic_streambuf::pubimbue, imbue wrong) 2003-11-13 23:13:22 +00:00
basic_stringbuf [multiple changes] 2003-10-16 22:37:53 +00:00
basic_stringstream locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
fpos [multiple changes] 2003-10-16 22:37:53 +00:00
ios_base re PR libstdc++/12855 (Thread safety problems in ios_base::Init) 2003-12-15 19:03:13 +00:00
manipulators locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
objects [multiple changes] 2003-10-16 22:37:53 +00:00
types [multiple changes] 2003-10-16 22:37:53 +00:00