Killing a python thread with a signal
Philippe C. Martin
philippecmartin at sbcglobal.net
Thu Dec 23 03:11:22 EST 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.
Regards,
Philippe
--
*********************
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
*********************
More information about the Python-list
mailing list