[Tutor] Cancelling a thread or blocked read

Eike Welk eike.welk at gmx.net
Sat Mar 31 17:38:49 CEST 2007


On Saturday 31 March 2007 07:07, Dhiraj Sharma wrote:
> I would appreciate help on two related questions:
>
> 1. Is it possible to cancel (kill) a "child" thread from the main
> thread in Python running on Windows?

I don't think so. If you want to kill part of the program you must run 
it in a different process. 

I think only in old Linux versions it was possible to kill a thread, 
because there was no fundamental difference between process and 
thread. 

Regards Eike.



More information about the Tutor mailing list