trying to kill threads

anton wilson anton.wilson at
Sat Feb 8 01:06:50 CET 2003

I'm trying to figure out how to kill a python thread in a way that won't 
trash the interpreter or memory. I have a program that allows a user to use 
our pre-defined python functions to create threads and run his/her own 
function. But when the stop button is pressed, I want to get rid of the 
threads the user created fairly quickly. 

I'm sure every understands the futility of using kill() with python.

Any suggestions?



More information about the Python-list mailing list