Apparently, I don't understand threading

jwsacksteder at jwsacksteder at
Mon Mar 14 03:06:39 CET 2005

I realize that. I'm using a variant of the polite shutdown request technique
used in the python cookbook. The problem is that thread creation is
apparently blocking instead of continuing program execution.

-----Original Message-----
From: jepler at [mailto:jepler at] 
Sent: Sunday, March 13, 2005 9:03 PM
To: Jeff Sacksteder
Cc: python-list at
Subject: Re: Apparently, I don't understand threading

The Python threading model doesn't allow one thread to forcibly terminate
another.  This has been discussed many times before, I think that the short
answer is a combination of (a) it's hard to specify what happens in the
terminated thread, without the possibility of leaving the program in an
state and (b) the threading modules are very lowest-common-denominator, not
requiring features that aren't already built into all the targeted
library combination.


More information about the Python-list mailing list