what is the best practice to separate Pygtk and long running thread code

sjdevnull at yahoo.com sjdevnull at yahoo.com
Fri Sep 22 22:50:12 CEST 2006


seb wrote:
> Hi,
>
> I am using pygtk for the first times.
>
> I am wondering what would be the best "pattern" to interface pygtk with
> a thread.
>
> The thread is collecting informations (over the network for example) or
> is doing some long calculations.

It sounds like you don't need to share all your memory--any time you're
trying to "seperate" threads, you probably want to be using processes
instead.




More information about the Python-list mailing list