Boost logo

Boost :

From: Michael Caisse (boost_at_[hidden])
Date: 2007-07-20 16:17:10

Phillip Hellewell wrote:

<---- snip ---->

> Is this a good solution that could maybe be made part of boost, in such a
> way that it is guaranteed to work and be safe?
> Or is there a better solution?
How about using boost::shared_ptr. Something like this in your class instead:

        boost::shared_ptr< boost::recursive_mutex > myMutex;

Michael Caisse
Object Modeling Designs

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