Threading module question

Aahz aahz at
Thu Jul 22 16:20:35 CEST 2004

In article <2830c89c.0407150251.5d557214 at>,
Andrew Gregory <andrew.gregory at> wrote:
>Solution: You cannot re-run a threaded function, but you can delete
>the thread a create a new one. I'm sure that I should have thought of
>that before, but this is the first occasion that I've tried to use use
>threads, and this was not obvious to me from the docs. I've posted the
>code in case it's useful to others.

Better answer: re-use the thread.  Have the thread you create sitting on
a Queue, waiting for input.
Aahz (aahz at           <*>

Barbara Boxer speaks for me:

More information about the Python-list mailing list