Subject: Re: [boost] [atomic] comments
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-11-01 10:57:25
Phil Endecott wrote:
> For the record, I am already doing this and the code is posted here:
A few quick comments... you need explicit memory orders (acqrel for --,
relaxed for ++), because SC is overkill; long c = use_count_ should be out
of the loop.