Re: Killing a python thread with a signal

2004-12-23 Thread Philippe C. Martin
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

Killing a python thread with a signal

2004-12-22 Thread James Lamanna
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. Is there any way to send a signal only to this thread and wake it up from the select? Thanks. Please CC me for I am not subscribed. -- James

Re: Killing a python thread with a signal

2004-12-22 Thread Craig Ringer
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 recall seeing various discussion of signals and threading on the list in the past - it