From: Joachim Achtzehnter (joachim_at_[hidden])
Date: 2002-06-29 13:38:24
Peter Dimov wrote:
> A single instance of shared_ptr must not be accessed from multiple threads
> without synchronization (unless all accesses are read accesses.)
> Different instances can be accessed from multiple threads, even when they
> are copies and share a count.
I see, mutex protection has been added to shared_ptr since I last looked.
This decision surprises me. This means every user of shared_ptr is now
burdened with this overhead?
-- work: joachima_at_[hidden] (http://www.netacquire.com) private: joachim_at_[hidden] (http://www.kraut.ca)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk