Boost logo

Boost :

From: Phillip Hellewell (sshock_at_[hidden])
Date: 2007-07-20 17:04:11


On 7/20/07, Stefan Seefeld <seefeld_at_[hidden]> wrote:
>
> Phillip Hellewell wrote:
> > Exactly, I don't want to copy or share the mutex in any way. I want
> each
> > object to have its own mutex.
>
> Right. And how do you think the compiler will know that ?
>

I was agreeing with you. Using a shared_ptr doesn't work. Every object
should be protected with its own mutex.

Phillip


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