Boost logo

Boost :

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]   (
private:  joachim_at_[hidden]          (

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