Killing a running thread
Alexander Skwar
lists.ASkwar at DigitalProjects.com
Thu May 2 04:36:29 EDT 2002
Hi!
I've got a application which uses some threading.Thread's to do the main
work. The thread is spending most of its time in a map() loop.
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? Can I kill the thread
by assigning None to the thread variable (t = threading.Thread(); t =
None)?
Thanks for any help,
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.iso-top.de | Jabber: askwar at a-message.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 8 days 3 hours 32 minutes
More information about the Python-list
mailing list