* 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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| array | Loading commit data... | |
| bind_iterate.h | Loading commit data... | |
| bind_repeat.h | Loading commit data... | |
| boost_shared_ptr.h | Loading commit data... | |
| functional | Loading commit data... | |
| functional_iterate.h | Loading commit data... | |
| hashtable | Loading commit data... | |
| memory | Loading commit data... | |
| mu_iterate.h | Loading commit data... | |
| ref_fwd.h | Loading commit data... | |
| ref_wrap_iterate.h | Loading commit data... | |
| repeat.h | Loading commit data... | |
| tuple | Loading commit data... | |
| tuple_iterate.h | Loading commit data... | |
| type_traits | Loading commit data... | |
| type_traits_fwd.h | Loading commit data... | |
| unordered_map | Loading commit data... | |
| unordered_set | Loading commit data... | |
| utility | Loading commit data... |