[Java-gnome-developer] Is java-gnome thread ready?
Brought to you by:
afcowie
From: Tiago C. <cog...@li...> - 2003-08-08 18:33:56
|
Lots of gui apps are threaded (at least with the threading made so easy in java) and since i am developing a multithreaded program with gtk calls that directly affect the main loop why isn't there a way to lock the main loop so i don't get this kind of errors? Xlib: unexpected async reply (sequence 0xbcb)! I tried to implement a lock mechanism in java side and mainIteration() but after browsing gtk+ faq i found this link: http://www.gtk.org/faq/#AEN453 So gtk is thread safe and there are mechanisms to do what i suppose is giving me such an head ache, do you have plans implementing this? Anyway, I will try to implement it now so i stop getting so frustrated with java-gnome programming, where errors appear and i don't even have a clue where they are coming from. As soon as i finish i'll send it over to the developers mailing list and post it as a patch in sourceforge Still waiting for any feedback, Tiago Cogumbreiro |