$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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