
26 Apr
2004
26 Apr
'04
12:15 p.m.
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
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