Get a Reference to an Object's Monitor

bearophile bearophileHUGS at lycos.com
Tue Dec 20 15:40:45 PST 2011


Andrew Wiley:

> I suspect the reason they advise not using it in user code is that the
> monitor is lazily initialized (if I remember correctly), so I'd have
> to initialize it myself.

I see.

I have a question myself. Regarding this, do you know why __vptr is an instance attribute instead of a class attribute?
http://d.puremagic.com/issues/show_bug.cgi?id=3939

Bye,
bearophile


More information about the Digitalmars-d mailing list