On 30/10/2003 1:02 AM, Sebastian Rittau wrote:

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?


Currently PyORBit doesn't support multithreading. In order to do this right, I would probably need to use the PyGILState_* functions from Python 2.3, and possibly require ORBit 2.8 which supports multi-threaded POAs (ie. allowing requests to be handled by other threads, rather than blocking or causing unexpected reentrancy)..

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to