threads only called once?
aahz at pythoncraft.com
Wed Aug 7 15:07:24 CEST 2002
In article <3d50bee4.90759015 at News.CIS.DFN.DE>,
Gerson Kurz <moc.q-dnan-p at p-nand-q.com> wrote:
>On Tue, 06 Aug 2002 13:51:00 GMT, "Ian McMeans" <imcmeans at telus.net>
>>Why can't the thread be started again if it's not alive (ie not running)? Am
>>I missing something here?
>I run into that, too, and I felt its pretty stupid. (Why! this
>limitation. It can't be just because the documentation says "at most
>once", it has to have a technical reason).
Because the thread is dead -- don't mistake the class instance for the
underlying construct it proxies. In a similar way, you can't re-use a
socket once it's closed; you have to re-open it.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Project Vote Smart: http://www.vote-smart.org/
More information about the Python-list