From: Tim Blechmann (tim_at_[hidden])
Date: 2008-04-21 11:06:53
>> afaict, boost's smart pointer classes are not thread-safe
> They are not. I have a version that is, as long as you don't care about
> weak pointers. It still needs a lot of work however. The interesting
> thing about a ref counted lock-free smart ptr is that it is possible to
> easily make any program lock free. Not that it will be more efficient
> than a lock based one, but for small objects it works great.
is the code available somewhere? i had some trouble, implementing a lock-
free boost-style shared_ptr class and started to write a smart pointer
with a different api ...
-- tim_at_[hidden] http://tim.klingt.org I had nothing to offer anybody except my own confusion Jack Kerouac
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk