[Orbit-python-list] orb.run with threads
Status: Inactive
Brought to you by:
tack
From: Joseph T. B. <jb...@tj...> - 2000-08-25 15:05:00
|
Hey folks, I'm trying to use the orbit orb to make several objects in a system that I'm writing availalbe to other processes. Problem is this: I have one process with several threads (around 5) that runs fine. But I want to be able to control it at times remotely from a client program. But wheneverer I incorporate corba into the server and eventually run orb.run(), even in a separate thread, everything else comes to a screeching halt. Does this have something to do with the "global interpreter lock" that I've heard so much about? 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 away. It seems that you would need to be multithreaded, but yet all of the evidence i've seen so fars indicates that python-orbit, and perhaps even orbit itself are not thread safe. as you can probably guess, I'm a little confused and I'm probably missing a few pieces of the puzzle. any help greatly appreciated! jb -- ------------------+ Joseph T. Bore | jb...@TJ... | ------------------+ |