Hi!
I'm trying to get pyORBit to work with threading. Unfortunately this
does not seem to work. When starting the attached sample script, the
script will print out numbers of up to ~100 and then stop. gdb reports
that thread 1 is hanging in poll(), while thread 3 is waiting for a
signal. Has anybody any ideas on how to proceed to track this problem
down?
- Sebastian
#!/usr/bin/python
import threading
import time
import CORBA
def run():
i = 0
while True:
print i
time.sleep(0.01)
i += 1
if __name__ == "__main__":
orb = CORBA.ORB_init()
t = threading.Thread(target = run)
t.start()
time.sleep(1)
orb.run()
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/