wait/notifyAll like in Java

Frank Benoit (keinfarbton) benoit at tionex.removethispart.de
Wed Feb 28 15:11:03 PST 2007


While porting java stuff, i come to this:

How can I implement a JObject class as a base of all the ported classes
to have wait/notify/notifyAll with the behaviour like in Java.

http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html

The "synchronized" of D objects, already uses some monitor.
Is it possible to access and use it for such an implementation?



More information about the Digitalmars-d mailing list