
15 Apr
2006
15 Apr
'06
12:01 p.m.
Boris wrote:
If you define BOOST_SP_DISABLE_THREADS class boost::detail::sp_counted_base doesn't use a mutex (see http://www.boost.org/libs/smart_ptr/shared_ptr.htm#ThreadSafety). However boost::detail::quick_allocator still uses a mutex as it checks BOOST_HAS_THREADS but not BOOST_SP_DISABLE_THREADS (see http://www.boost.org/boost/detail/quick_allocator.hpp). Is this intentional (as quick_allocator might be used by other classes)?
Yes, this is intentional. Is your message a request for BOOST_QA_DISABLE_THREADS? :-)