exiting threads

Aahz Maruch aahz at netcom.com
Thu Jun 29 09:28:51 EDT 2000


In article <8jfcf9$2rp$1 at nnrp1.deja.com>,
Dale Burnett  <denalione at my-deja.com> wrote:
>
>I am using thread.start_new_thread(self.foo,(x,y))
>
>Do I have to explicitly exit the thread or does it automatically exit
>when foo returns?

I believe it does, but I strongly recommend that you subclass
threading.Thread instead.
--
                      --- Aahz (Copyright 2000 by aahz at netcom.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

The best way to get information on Usenet is not to ask a question,
but to post the wrong information.  --Aahz



More information about the Python-list mailing list