Killing a running thread
Martin v. Löwis
loewis at informatik.hu-berlin.de
Thu May 2 09:06:44 EDT 2002
Alexander Skwar <lists.ASkwar at DigitalProjects.com> writes:
> The application itself is a wxPython GUI application. Because the
> worker thread can take quite some time and consume a lot of memory, I'd
> like to have a button (or whatever) on the GUI which allows the user to
> kill the running thread. But how can I do this?
You cannot; killing a thread is not supported. You may succeed with
low-level operating system calls (kill, TerminateThread), but you are
on your own doing so.
Regards,
Martin
More information about the Python-list
mailing list