Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2003-11-15 14:48:15


Larry Evans wrote:

[...]

> Would "weighted reference counting":
> http://www.cs.kent.ac.uk/people/staff/rej/gcbib/gcbibJ.html#jone92
> be any speed advantage for multi-threaded smart ptrs?
> It's supposed to avoid synchronization for copy and only
> requires synchronization for decrement of reference count.
> The cost is extra memory in the pointers.

Is this a "probabilistic" solution or will it always work?

Philippe


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