Re: Threading- Stopping

2005-11-07 Thread Antoon Pardon
Op 2005-11-04, Tuvas schreef [EMAIL PROTECTED]: Is there a way to stop a thread with some command like t.stop()? Or any other neat way to get around it? Thanks! What do you mean with stop? Pauze it or make it finish. In the latter case, if you really want it you could use the following. It

Re: Threading- Stopping

2005-11-07 Thread Alan Kennedy
[Tuvas] Is there a way to stop a thread with some command like t.stop()? Or any other neat way to get around it? Thanks! Good question. And one that gets asked so often, I ask myself why it isn't in the FAQ? http://www.python.org/doc/faq/library.html It really should be in the FAQ. Isn't

Re: Threading- Stopping

2005-11-07 Thread Bengt Richter
On Mon, 07 Nov 2005 13:49:35 +, Alan Kennedy [EMAIL PROTECTED] wrote: [Tuvas] Is there a way to stop a thread with some command like t.stop()? Or any other neat way to get around it? Thanks! Good question. And one that gets asked so often, I ask myself why it isn't in the FAQ?

Threading- Stopping

2005-11-04 Thread Tuvas
Is there a way to stop a thread with some command like t.stop()? Or any other neat way to get around it? Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Threading- Stopping

2005-11-04 Thread David Wahler
Tuvas wrote: Is there a way to stop a thread with some command like t.stop()? Or any other neat way to get around it? Thanks! Sadly, no. While Java and many other programming languages have an interrupt() primitive, Python does not. You can approximate this by using a global variable to tell

Re: Threading- Stopping

2005-11-04 Thread Tuvas
Thanks! -- http://mail.python.org/mailman/listinfo/python-list