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-12-01 15:34:07 +00:00
2003-12-01 15:34:07 +00:00
2003-12-02 02:48:51 +00:00
2003-11-27 08:14:25 +00:00
2003-11-11 20:09:16 +00:00
2003-12-11 22:29:12 +00:00
2003-07-21 17:12:09 +00:00
2003-12-15 00:16:08 +00:00
2003-10-16 22:37:53 +00:00
2003-10-22 18:58:35 +00:00
2003-07-05 04:05:45 +00:00
2003-07-05 04:05:45 +00:00
2003-12-09 22:54:25 +00:00
2003-11-11 20:09:16 +00:00
2003-12-10 20:05:00 +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-12-15 19:03:13 +00:00
2003-12-02 02:48:51 +00:00
2003-11-11 20:09:16 +00:00
2003-10-09 21:17:11 +00:00
2003-12-15 16:56:42 +00:00
2003-12-15 16:56:42 +00:00
2003-07-05 04:05:45 +00:00
2003-07-05 04:05:45 +00:00
2003-12-02 02:48:51 +00:00
2003-12-05 06:54:24 +00:00
2003-07-05 04:05:45 +00:00
2003-12-05 06:54:24 +00:00
2003-12-04 19:37:21 +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-10-12 10:12:09 +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-11-11 20:09:16 +00:00
2003-11-11 20:09:16 +00:00
2003-11-11 20:09:16 +00:00
2003-10-12 10:12:09 +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-14 20:14:49 +00:00
2003-10-21 18:01:37 +00:00
2003-07-30 15:01:58 +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-24 21:02:39 +00:00
2003-12-05 06:54:24 +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-30 16:51:51 +00:00
2003-07-30 16:51:51 +00:00
2003-07-05 04:05:45 +00:00
2003-11-11 20:09:16 +00:00