Re: [Orbit-python-list] orb.run with threads
Status: Inactive
Brought to you by:
tack
From: Jason T. <ta...@li...> - 2000-08-25 16:09:49
|
> As I look at this further i've begun to wonder how you can write a > gtk/corba(ORBit) application when I need to call gtk_mainloop and > orb.run but yet neither of them returns until the program wants to go > of the evidence i've seen so fars indicates that python-orbit, and > perhaps even orbit itself are not thread safe. This is true. ORBit-Python definitely isn't reentrant, and I don't think ORBit is either. (Rumor has it there is or was some work done in this area, but I don't know what the status is.) What you really want is Gnorba. Basically, Gnorba (among other things) provides a new main loop that handles both gtk+ and ORBit main loops. This is something I always wanted to do (and was partly my motivation for writing ORBit-Python), but I never did get around to it. I would certainly be pleased to see some work done in this area, and I'd be happy to work on that (or help work on that) once I stabilize ORBit-Python itself. Check out: http://developer.gnome.org/arch/component/gnorba.html Cheers, Jason. |