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
..
2003-11-11 20:09:16 +00:00
2003-12-15 00:16:08 +00:00
2003-10-16 22:37:53 +00:00
2003-07-05 04:05:45 +00:00
2003-07-05 04:05:45 +00:00
2003-11-11 20:09:16 +00:00
2003-07-05 04:05:45 +00:00
2003-07-05 04:05:45 +00:00
2003-07-05 04:05:45 +00:00
2003-11-11 20:09:16 +00:00
2003-07-05 04:05:45 +00:00
2003-07-05 04:05:45 +00:00
2003-07-05 04:05:45 +00:00
2003-11-11 20:09:16 +00:00
2003-11-11 20:09:16 +00:00
2003-12-01 18:48:24 +00:00
2003-11-11 20:09:16 +00:00
2003-11-11 20:09:16 +00:00
2003-07-05 04:05:45 +00:00
2003-11-11 20:09:16 +00:00
2003-11-11 20:09:16 +00:00
2003-11-11 20:09:16 +00:00
2003-11-11 20:09:16 +00:00
2003-11-11 20:09:16 +00:00
2003-11-11 20:09:16 +00:00
2003-07-05 04:05:45 +00:00
2003-07-05 04:05:45 +00:00
2003-11-11 20:09:16 +00:00
2003-11-11 20:09:16 +00:00
2003-07-05 04:05:45 +00:00
2003-11-11 20:09:16 +00:00
2003-11-11 20:09:16 +00:00
2003-07-05 04:05:45 +00:00
2003-07-05 04:05:45 +00:00
2003-07-05 04:05:45 +00:00
2003-07-05 04:05:45 +00:00
2003-11-11 20:09:16 +00:00