threads killing other threads

Paul Rubin phr-n2002a at
Fri Feb 8 02:16:05 CET 2002

weeks at (Greg Weeks) writes:
> I've occasionally wanted thread objects to have an exit() method, so that
> one thread could interrrupt and kill another.  This doesn't seem to be 
> available, perhaps because POSIX threads don't support it.
> Is that correct?
> Is there some reason why threads killing threads would be undesirable or
> hard to implement?

What you really want is a way to let threads raise asynchronous
exceptions in other threads.  There's some discussion of this in

More information about the Python-list mailing list