diff options
author | Paolo Carlini <pcarlini@suse.de> | 2006-11-11 17:32:12 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2006-11-11 17:32:12 +0000 |
commit | eebbe2c70e1dc028b3d8a858397e923073a0abb7 (patch) | |
tree | d2e8480331466efe424bf65b11128513e9df650a /gcc/fortran/array.c | |
parent | bc0a33d315e597f6d5c07a8a0b071de91d6aa20b (diff) | |
download | gcc-eebbe2c70e1dc028b3d8a858397e923073a0abb7.zip gcc-eebbe2c70e1dc028b3d8a858397e923073a0abb7.tar.gz gcc-eebbe2c70e1dc028b3d8a858397e923073a0abb7.tar.bz2 |
re PR libstdc++/29496 (_M_invalidate function is not thread-safe in GLIBCXX_DEBUG mode)
2006-11-11 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/29496
* include/debug/safe_base.h (_Safe_sequence_base::_M_get_mutex,
_Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single):
New.
* src/debug.cc: Define the latter.
(_Safe_sequence_base::_M_detach_all, _M_detach_singular,
_M_revalidate_singular, _M_swap): Use the mutex.
(_Safe_iterator_base::_M_attach, _M_detach): Adjust, forward to the
*_single version.
* include/debug/safe_iterator.h (_Safe_iterator<>::_M_attach_single,
_M_invalidate_single): New.
* include/debug/safe_iterator.tcc: Define.
(_Safe_iterator<>::_M_invalidate): Adjust, forward to
_M_invalidate_single.
* include/debug/safe_sequence.h (_Safe_sequence<>::_M_invalidate_if,
_M_transfer_iter): Use the mutex, adjust, forward to the *_single
versions of _M_invalidate and _M_attach.
* config/abi/pre/gnu.ver (_Safe_sequence_base::_M_get_mutex,
_Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single):
Add @GLIBCXX_3.4.10; adjust.
* configure.ac (libtool_VERSION): To 6:10:0.
* testsuite/util/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.10.
* configure: Regenerate.
From-SVN: r118701
Diffstat (limited to 'gcc/fortran/array.c')
0 files changed, 0 insertions, 0 deletions