Boost logo

Boost :

Subject: Re: [boost] [smart_ptr] Proposal to extractintrusive_ref_counterfrom Boost.Log
From: Peter Dimov (lists_at_[hidden])
Date: 2013-08-30 03:52:35


Andrey Semashev wrote:
> The config macro is related to Boost.Log. I was thinking about changing it
> to
> BOOST_NO_THREADS after the extraction, so that the counter is always
> atomic in
> multithreaded environments.

atomic_count already does this, so there should be no need to replicate the
#ifdef at the point of use.


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