synchronized (this[.classinfo]) in druntime and phobos
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed May 30 09:01:51 PDT 2012
On 5/30/12 5:43 AM, deadalnix wrote:
> It doesn't address most of the drawback cited. Notably the fact that
> every object have a monitor field, but most of them will not use it.
Once the TDPL design is implemented, we could look into eliminating that
field for all but "synchronized" class. In the TDPL design,
"synchronized" is a class-level attribute.
Andrei
More information about the Digitalmars-d
mailing list