Boost logo

Boost :

From: Talbot, George (Gtalbot_at_[hidden])
Date: 2006-11-09 18:15:02


I have a question for the designers and implementers of

Is there any plan afoot to support lock-free programming using
shared_ptr? I was fooling around with wanting to attempt lock-free
update of a tree structure that I have that uses shared_ptr. If
no-one's thinking about this, how might I go about implementing:

        bool boost::shared_ptr<T>::compare_and_swap(T* original,
shared_ptr<T>& new_one)

Am I insane in asking for this? ;^) Does this have a prayer of being


George T. Talbot

Boost list run by bdawes at, gregod at, cpdaniel at, john at