synchronized (this[.classinfo]) in druntime and phobos
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue May 29 16:10:41 PDT 2012
On 5/29/12 4:06 PM, Alex Rønne Petersen wrote:
> Synchronized blocks are good because they
> operate on an implicit, hidden, global mutex. You can't screw up with that.
I think there's quite some disconnect here. If there's any anti-pattern
in this discussion, it's operating on an implicit, hidden, global mutex.
Walter agreed to eliminate that from D, but never got around to it.
Andrei
More information about the Digitalmars-d
mailing list