Get a Reference to an Object's Monitor

bearophile bearophileHUGS at lycos.com
Tue Dec 20 14:29:40 PST 2011


Andrew Wiley:

> Is there any way to get a reference to an object's monitor?

Is this useful? From the D2 docs:

> The properties .__vptr and .__monitor give access to the class object's vtbl[] and
> monitor, respectively, but should not be used in user code.

Bye,
bearophile


More information about the Digitalmars-d mailing list