$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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:
>
> https://svn.boost.org/trac/boost/ticket/5625
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.