On 5/31/12 2:36 AM, Regan Heath wrote:
On Wed, 30 May 2012 19:29:39 +0100, Andrei Alexandrescu
<seewebsiteforem...@erdani.org> wrote:
You can have deadlocks but with synchronized you can't leak locks or
doubly-unlock them. With free mutexes you have all of the above.

I'm not suggesting using free mutexes. I'm suggesting keeping the mutex
private inside the object.

Ergo, you are suggesting using free mutexes. Your second sentence destroys the first.


Andrei

Reply via email to