Stopping a python thread
Aahz Maruch
aahz at panix.com
Wed Oct 18 16:58:56 EDT 2000
In article <8sksk4$b6c$1 at nnrp1.deja.com>, <cullman at my-deja.com> wrote:
>
>Is there any support for stopping a thread that was spawned from the
>main thread?
What do you need to do this for? The standard response is that the
spawned thread should determine when it should stop processing work and
execute a "return". That will kill the thread automatically. There are
a variety of ways of signalling the thread to exit.
--
--- Aahz (Copyright 2000 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
"real love can't be explained by simplistic platitudes." --piranha
More information about the Python-list
mailing list