[Patches] [ python-Patches-452266 ] thread.kill_thread

noreply@sourceforge.net noreply@sourceforge.net
Fri, 17 Aug 2001 17:10:35 -0700


Patches item #452266, was opened at 2001-08-17 17:10
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=452266&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason Petrone (jpetrone)
Assigned to: Nobody/Anonymous (nobody)
Summary: thread.kill_thread 

Initial Comment:
Function to unsafely kill a thread.  Implementations
are included for posix and nt.  If what I have looks
reasonable I will add other platforms + docs.

I've read Guido's usenet posts on this and 
understand the reasons against it, but I still think
it might be worth having.  Thread implementations 
like the ones in Java and win32 allow it with the
caveat that it could result in deadlock, 
corrupted data,  unclaimed resources, bodily harm, 
etc.  

Note that it also changes start_new_thread to return
the id for the new thread.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=452266&group_id=5470