Killing a thread

Fredrik Lundh fredrik at pythonware.com
Fri Jun 9 16:47:02 EDT 2006


Manish Marathe wrote:

> I am creating threads using my self defined class which inherits the 
> threading.Thread class. I want to know how can I kill the threads which 
> are being created by the object of my self defined class.

you cannot kill a thread "from the outside"; you have to design your 
thread tasks so they can kill themselves, when asked to do that.

</F>




More information about the Python-list mailing list