| 1142 | } |
| 1143 | |
| 1144 | template<class T> shared_ptr<T> atomic_load( shared_ptr<T> const * p ) BOOST_SP_NOEXCEPT |
| 1145 | { |
| 1146 | boost::detail::spinlock_pool<2>::scoped_lock lock( p ); |
| 1147 | return *p; |
| 1148 | } |
| 1149 | |
| 1150 | template<class T, class M> inline shared_ptr<T> atomic_load_explicit( shared_ptr<T> const * p, /*memory_order mo*/ M ) BOOST_SP_NOEXCEPT |
| 1151 | { |
no outgoing calls
no test coverage detected