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
Showing
Please
register
or
sign in
to comment