Leon Mlakar wrote:
As a matter of fact, I will be interesting to see how this was done. We tried to modify the code into this direction but run into some problems, and since there was a pressure to deliver (as there always is) we then used a backup plan and guarded the (infrequently used) shared heap by other means.
You can take a look at the commits http://boost.cvs.sourceforge.net/boost/boost/boost/shared_ptr.hpp?r1=1.58&r2=1.59 http://boost.cvs.sourceforge.net/boost/boost/boost/detail/shared_count.hpp?r1=1.47&r2=1.48 http://boost.cvs.sourceforge.net/boost/boost/boost/detail/sp_counted_impl.hpp?r1=1.2&r2=1.3 where this support was added, or you could download the RC of 1.34 if there were an obvious place to do that. :-) People that are more resourceful than me have found it at: http://engineering.meta-comm.com/boost/snapshot/boost-RC_1_34_0.tar.bz2