Re: [boost] Would anybody like a wrapper atomic_shared<T>aroundshared_ptr<T>?

Excellent. I'll wait for this. I'd be willing to be a tester, if that would help. -- George T. Talbot <gtalbot@locuspharma.com>
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Peter Dimov Sent: Wednesday, July 23, 2008 6:37 AM To: boost@lists.boost.org Subject: Re: [boost] Would anybody like a wrapper atomic_shared<T>aroundshared_ptr<T>?
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
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2674.htm
This feature be part of the upcoming 1.36.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (1)
-
Talbot, George