[pygtk] shutting down worker threads
Jason Pepas
cell at ices.utexas.edu
Thu Mar 30 03:52:01 WST 2006
On Wednesday 29 March 2006 12:21 pm, you wrote:
> Jason Pepas napisał(a):
> > 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?
>
> You can poll shared object for "stop flag" in worker thread (in
> something like "timer object"). And besides that, you have no other
> options in Python.
Damn, I was hoping to be able to use interruption instead of polling. Oh
well...
-jason
More information about the pygtk
mailing list