threads killing other threads
Paul Rubin
phr-n2002a at nightsong.com
Thu Feb 7 20:16:05 EST 2002
weeks at vitus.scs.agilent.com (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
http://sf.net/tracker/?func=detail&aid=502236&group_id=5470&atid=105470
More information about the Python-list
mailing list