Terminate a thread that doesn't check for events

Jp Calderone exarkun at divmod.com
Tue Aug 2 17:49:31 CEST 2005

On Tue, 2 Aug 2005 09:51:31 -0400, Liu Shuai <lshuai at kaneva.com> wrote:
>Can someone please comment on this?
> [snip - how to stop a thread without its cooperation?]

There's no way to do this with threads, sorry.

Perhaps you could use a child process, instead.  Those are typically easy to terminate at arbitrary times.


More information about the Python-list mailing list