Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2003-05-27 08:34:41

Peter Dimov wrote:
> Trevor Taylor wrote:
> >
> > Why wait? With so many people contributing to boost, why not
> > introduce a pthread_refcount_t into into boost threads (or is there
> > one already?), provide a default implementation equivalent to what
> > shared_ptr does now,
> We can't; shared_ptr uses a single pthread_mutex to protects its two counts.
> A naive pthread_mutex based pthread_refcount_t would result in two mutexes,
> one per count.



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