Problems with libjava's AWT

Tom Tromey tromey@redhat.com
Wed Jun 16 22:18:00 GMT 2004


Bryce> Nope. wait() implicitly releases the lock when the wait begins, and
Bryce> reaquires it before returning. I don't think there is a deadlock here.
I agree -- in fact, you're required to synchronize on an object before
you can wait() or notify() on it.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /