Killing threads

Aahz aahz at pythoncraft.com
Sun Apr 5 06:22:35 CEST 2009


In article <4b52f7d7-81d5-4141-9385-ee8cfb90ac1b at l1g2000yqk.googlegroups.com>,
 <ericwoodworth at gmail.com> wrote:
>
>I'm using queues to talk between these threads so I could certainly
>put some kind of message on the queue that causes the threads to
>commit suicide but I'm thinking there's a more built in way to do what
>I want.  I'm just not sure what it is.

There isn't, you have the right idea about using queues.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it."  --Brian W. Kernighan



More information about the Python-list mailing list