trying to kill threads

anton wilson anton.wilson at camotion.com
Fri Feb 7 19:06:50 EST 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?


Thanks,

Anton





More information about the Python-list mailing list