From: peter@transvirtual.com
Date: Thu Dec 17 1998 - 18:16:50 EST
On Thu, 17 Dec 1998, Godmar Back wrote:
>The awt toolkit deadlocks for Les Schaffer on his P/90.
>
>The program for which that happens is FileViewer.java (appended)
>and it's likely somewhere in the pack call.
>
>The two threads that deadlock are the main thread and the awt event queue
>thread, as one would expect.
Indeed - I recently fixed an "active" deadlock (actually a infinite loop) which
came up with the threaded (blocking) AWT. In Java_java_awt_Toolkit_evtWakeup()
(evt.c), move the whole ..
if ( !X->wakeUp ) {
..
}
..
block up into Java_java_awt_Toolkit_evtInit() (doesn't matter where, it just
has to be initialized before the first nextEvent() call happens).
Let me know if this helps. Works fine on my current snap (which I will try to
convert into a full patch before christmas)
-- Peter- Pete
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:21 EDT