Boost logo

Boost :

Subject: Re: [boost] [smart_ptr] Proposal to extractintrusive_ref_counterfrom Boost.Log
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-08-30 04:11:45


On Friday 30 August 2013 10:52:35 Peter Dimov wrote:
> 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.

Ok, I didn't notice that, thanks.

So I take it you don't mind me moving this component to Boost.SmartPtr?


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