Boost logo

Boost :

Subject: Re: [boost] Does lock-free boost::shared_ptr<T> implementation exist?
From: Tim Blechmann (tim_at_[hidden])
Date: 2010-07-12 17:18:04


> I'm trying to find a production quality lock free reference counted
> pointer implementation and boost::shared_ptr seems promising. However
> boost::atomic_is_lock_free(shared_ptr) returns false on Windows. I'm
> going to try on SUSE linux soon.

while the reference counting itself is lock-free,
boost::atomic<boost::shared_ptr> requires dcas support to be lockfree ...

hth, tim

-- 
tim_at_[hidden]
http://tim.klingt.org
I must say I find television very educational. The minute somebody
turns it on, I go to the library and read a good book.
  Groucho Marx

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