
20 Jul
2007
20 Jul
'07
9:04 p.m.
On 7/20/07, Stefan Seefeld <seefeld@sympatico.ca> 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