[pygtk] shutting down worker threads

Jason Pepas cell at ices.utexas.edu
Wed Mar 29 04:38:18 WST 2006


Hi guys,

I have been wrapping my brain around the idea of getting asynchronous gui 
updates with worker threads working, and I have covered all but the last 
step.

When I want to stop my program, how do I interrupt what the worker threads are 
doing to tell them it is time to stop?

I have attached a simple example which demonstrates what I am working on.  Try 
hitting the thread button a bunch of times and them closing the window.

Thanks,
Jason Pepas


More information about the pygtk mailing list