How to force a thread to stop

Gerhard Fiedler gelists at gmail.com
Wed Jul 26 20:34:51 EDT 2006


On 2006-07-26 19:08:44, Carl J. Van Arsdall wrote:

> Also, threading's condition and event constructs are used a lot 
> (i talk about it somewhere in that thing I wrote).  They are easy to use 
> and nice and ready for me, with a server wouldn't I have to have things 
> poll/wait for messages?

How would a thread receive a message, unless it polls some kind of queue or
waits for a message from a queue or at a semaphore? You can't just "push" a
message into a thread; the thread has to "pick it up", one way or another. 

Gerhard




More information about the Python-list mailing list