Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-04-15 08:01:10


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? :-)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk