aboutsummaryrefslogtreecommitdiff
path: root/gcc/pointer-set.c
diff options
context:
space:
mode:
authorJonathan Wakely <redi@gcc.gnu.org>2005-04-05 12:08:55 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2005-04-05 12:08:55 +0100
commitfcec20a7581be7e4a1aa34a4ce0f0316ba03d690 (patch)
treecd11923f6c07d5cfe3ca28c23d7985b110a02994 /gcc/pointer-set.c
parent1de2bc2a007b2a724960d20dd6bc7585ef6fe092 (diff)
downloadgcc-fcec20a7581be7e4a1aa34a4ce0f0316ba03d690.zip
gcc-fcec20a7581be7e4a1aa34a4ce0f0316ba03d690.tar.gz
gcc-fcec20a7581be7e4a1aa34a4ce0f0316ba03d690.tar.bz2
memory, [...]: Use mutex to make _Sp_counted_base::add_ref_lock() thread-safe.
* include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether to destroy resources by testing for equality, not inequality. Add empty critical sections to solve memory visibility issues. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of explicitly listing line numbers which need to be kept in sync. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/assign/auto_ptr_neg.cc: Same. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when -fno-exceptions. * testsuite/tr1/2_general_utilities/memory/ enable_shared_from_this/not_shared.cc: Add explanatory comments. * testsuite/tr1/2_general_utilities/memory/ enable_shared_from_this/not_shared2.cc: Same. * testsuite/tr1/2_general_utilities/memory/ enable_shared_from_this/not_shared3.cc: Same. From-SVN: r97620
Diffstat (limited to 'gcc/pointer-set.c')
0 files changed, 0 insertions, 0 deletions