exiting threads

Dale Burnett denalione at my-deja.com
Thu Jun 29 10:28:22 EDT 2000


In article <8jfiuj$lf1$1 at slb1.atl.mindspring.net>,
  aahz at netcom.com (Aahz Maruch) wrote:
> 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.
> --
>
why?  because of the greater functionality of threading or is there
something wrong with thread?


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list