Boost logo

Boost :

From: Alan Griffiths (alan_at_[hidden])
Date: 1999-07-27 15:27:19


In message <802567BB.00584B79.00_at_[hidden]>, Kevlin Henney
<Kevlin.Henney_at_[hidden]> writes
>Agreed. The last thing that shared_ptr needs is a heavy overhead locking
>mechanism; inc and dec&test need to be lock-free and atomic. Therefore,
>should the problem be removed one level by writing shared_ptr in terms of
>such a counter, and isolating the platform specific w/i that counter class
>alone?

Yes

-- 
Alan Griffiths  (alan_at_[hidden])  http://www.octopull.demon.co.uk/
ACCU Chairman   (chair_at_[hidden])             http://www.accu.org/

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