Cyril Giraudon wrote:
Now I 'd like to launch several instance of this application from a
process with threads.
All instances share nothing at all but the master thread can communicate
with them (simple requests).
What are the prerequisites for the PyGTK application ?
What is the easier method to instantiate this app from a process ?
I forget, It's on Windows XP :-(
Multiple threads using gtk is not supported on win32, see
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Threads.html
It may be better to use multiple processes in any case unless all of the
components that you are using are thread safe -- a lot of code isn't
thread safe or use different thread safety models and it's a good idea
to assume code won't work with threads until proven otherwise.
Cheers,
John
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/