Re: timers not canceling!

2010-03-24 Thread Steve Holden
Steve Holden wrote: > Alex Hall wrote: [...] > "thread already started" implies that the thread is running, but you > actually get the same message if you try to start any terminated thread > (including a canceled one), so "threads cannot be restarted" might be a > better message. > Or, better sti

Re: timers not canceling!

2010-03-24 Thread Steven D'Aprano
On Wed, 24 Mar 2010 17:12:45 -0400, Alex Hall wrote: > Hi all, > I am having trouble with a timer I am trying to use. It is the same > timer, but I need to cancel it when a certain event happens, then start > it again when a second event happens. The below is from a shell session, > not a file, bu

Re: timers not canceling!

2010-03-24 Thread Steve Holden
Alex Hall wrote: > Hi all, > I am having trouble with a timer I am trying to use. It is the same > timer, but I need to cancel it when a certain event happens, then > start it again when a second event happens. The below is from a shell > session, not a file, but it shows my problem: I call cancel

timers not canceling!

2010-03-24 Thread Alex Hall
Hi all, I am having trouble with a timer I am trying to use. It is the same timer, but I need to cancel it when a certain event happens, then start it again when a second event happens. The below is from a shell session, not a file, but it shows my problem: I call cancel on a timer, then call start