Re: [Java-gnome-developer] Running File I/O Thread Crashes Java-Gnome
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2010-06-05 05:47:26
|
On Fri, 2010-06-04 at 20:15 +0000, Jester wrote: > 3. You will notice that DrawingWin goes blank (the drawing disappears) That is almost certainly a sign you are blocking the main loop with a call somewhere in your Thread. But that doesn't really seem to be the case. Weird. At first DrawingArea's Widget.ExposeEvent gets called fine, even after you start the thread. It's only after a while that suddenly it goes blank. That's very strange. I was about to blame this as a GC issue, but it doesn't happen if you don't start the thread. At least, I've not seen it (perhaps the thread is causing GC pressure. I doubt it, though). ++ The diagnostics I've tried so far are going to extra effort to make sure the Windows stay in scope, and slowing down your thread to sleep(1000). Anyway, at first glance you're not misusing GTK. The app's UI isn't freezing. AfC Sydney |