Re: [Java-gnome-developer] Running File I/O Thread Crashes Java-Gnome
Brought to you by:
afcowie
From: Jester <jsn...@gm...> - 2010-06-05 08:12:20
|
Hi Andrew, I really appreciate that you took a look at this. I've found a workaround by running the data retrieving part in a separate process (not just a separate thread). It's a pain in the 'a' but it works. Your suggestion about sleeping the thread is good and I've tried this. My sleep time was 100ms per cycle which still causes the crash. Longer sleep cycles would not be acceptable for my type of application. The real data mining thread is very different from my sample code. While reducing the issues to a small example I learned that just about any type of file i/o or even data retrieval over http can cause the problems I pointed out. This makes java-gnome unfit for many real-world application. I have great interest in finding a solution and will not give up, especially since I now have a workaround that allows me to build software on java-gnome. Thanks again! |