Get a Reference to an Object's Monitor

Andrew Wiley wiley.andrew.j at gmail.com
Tue Dec 20 21:44:59 PST 2011


On Tue, Dec 20, 2011 at 9:16 PM, Sean Kelly <sean at invisibleduck.org> wrote:
> Yup.
>

Do you have any plans to eliminate the fun things like
(cast()condition).wait();
?

It seems like most of the classes in core.sync should be declared as
shared classes. I realize there would be code breakage, but having to
cast away shared everywhere I do anything beyond `synchronized` is
pretty broken.


More information about the Digitalmars-d mailing list