Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2004-04-26 07:15:10


On Apr 25, 2004, at 9:34 PM, Peter Dimov wrote:

>> shared_ptr has two counts which sometimes must both be incremented in
>> an atomic fashion.
>
> Right, but thanks to Alexander Terekhov, this is already a solved
> problem.
> :-) I'll try to switch boost::shared_ptr to use atomic operations (on
> Windows at least) for the next release. Perhaps you missed the
> comp.std.c++
> thread and my proof of concept implementation, available at
>
> http://www.pdimov.com/cpp/shared_count_x86_exp2.hpp

Somehow I think I knew this and had just completely forgotten about it
(I actually already had your proof of concept implementation
bookmarked). Thanks for the reminder!

-Howard


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