MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / atomic_load

Function atomic_load

extern/boost/boost/smart_ptr/shared_ptr.hpp:1144–1148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1142}
1143
1144template<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
1150template<class T, class M> inline shared_ptr<T> atomic_load_explicit( shared_ptr<T> const * p, /*memory_order mo*/ M ) BOOST_SP_NOEXCEPT
1151{

Callers 4

atomic_load_explicitFunction · 0.70
lazy_initFunction · 0.50
lazy_initMethod · 0.50
lazy_initMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected