I have a problem in that another python program (not under our
development) we import is not thread friendly.  The problem I have is
that mostly it is imported and used from the base thread, but there are
several areas of code that need to run from a thread so as to not tie up
the mainloop and general gui operations.  The result is intermittent
segfaults/ lately it does:

Fatal Python error: PyThreadState_Get: no current thread
Killed

  I have thought of recoding and spawning a process that imports the
program to act as a server, but that would entail pickling/unpickling
the python data types to pass thru pipes, etc..

Is it possible to run the mainloop of our program from another thread?
Is it dfficult/not advisable? 
-- 
Brian Dolbec <[EMAIL PROTECTED]>
-- 
Brian <[EMAIL PROTECTED]>

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

Reply via email to