Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-07-23 06:36:42

Talbot, George:

> Hi all,
> A while back (~2006 I think) I was asking around on this list about
> using boost::shared_ptr<T> to build a composite data structure that can
> be accessed and modified by multiple threads.
> Peter Dimov's suggestion at the time was to write a wrapper class for
> boost::shared_ptr<T> that would protect access to the
> boost::shared_ptr<T> with a spinlock. I've done this, and this works
> pretty good in my application. I'm interested in contributing this code
> to BOOST, as it's been quite useful.

The SVN now contains an implementation of the recently accepted for
inclusion into C++0x

This feature be part of the upcoming 1.36.

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