Lets Talk More Threads

Aahz Maruch aahz at panix.com
Thu Oct 19 11:42:02 EDT 2000


In article <67DH5.155361$Qx4.5103925 at news1.rdc1.il.home.com>,
Alex McHale <daimun at home.com> wrote:
>
>Using the Thread class, which I'm extremely happy with, I've run into
>a problem.  The documentation on the class suggests that you can
>obj.start( ) a thread multiple times.  Yet, when I do this, I get an
>error to the effect of "thread already started" What I'm needing to do
>is have a thread which I can resurrect over and over.

If you tell me where in the docs it says this, I can either get it fixed
or explain why your reading is wrong.  The simplest good way to deal with
this is to use a Queue object to pass work to the thread.
-- 
                      --- 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