Killing a python thread with a signal

Philippe C. Martin philippecmartin at
Thu Dec 23 09:11:22 CET 2004

On Thu, 2004-12-23 at 04:51, James Lamanna wrote:
> So I've created a thread with the threading.Thread class, but I want to 
> be able to kill this thread because it does a select() with a timeout of 
> None.

I do not know what type of information your thread reads from the sockets, but 
I added a 'QUIT-STYLE' command in my script when I want the thread to exit so 
it wakes up.



Philippe C. Martin
SnakeCard LLC

More information about the Python-list mailing list