This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with libjava's AWT


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]