Similar to the TerminateProcess function in win32api, there is the 
TerminateThread function which you can use if you know the handle of the 
thread, but it seems that you can only get the thread handle if you are 
calling from that thread, or if you were the one who created it (and saved 
the return of CreateThread).  You can get the thread handle with 
GetCurrentThread. (these are all win32api functions)


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to