"after" timer script is never called if the system time is set backwards.
- From: Jan Kandziora <jjj@xxxxxx>
- Date: Fri, 18 Jan 2008 00:13:49 +0100
Hello,
I develop an embedded system featuring some Tcl applications.
To update a clock view, I use a simple "label" widget and an "after 500"
script to update that widget's contents to the latest time. That works well
for the common use case. In the system, there is a second application
(modified tclhttpd) which I use to change the system clock (via the "date"
command). This works well, too.
However, whenever I change the system time *backwards*, the clock view
stalls. When I change back to the future time, it immediately restarts
updating the view.
I assume there is a problem with the "after" command I use. Is there a way
to solve this issue?
Kind regards
Jan
.
- Follow-Ups:
- Re: "after" timer script is never called if the system time is set backwards.
- From: Andreas Leitgeb
- Re: "after" timer script is never called if the system time is set backwards.
- From: Alexandre Ferrieux
- Re: "after" timer script is never called if the system time is set backwards.
- From: Dennis LaBelle
- Re: "after" timer script is never called if the system time is set backwards.
- Prev by Date: Re: ANNOUNCE Poet version 2.1.0
- Next by Date: Re: "after" timer script is never called if the system time is set backwards.
- Previous by thread: TWiST (Tcl Web Services Toolkit): No longer requires AOLserver APIs
- Next by thread: Re: "after" timer script is never called if the system time is set backwards.
- Index(es):
Relevant Pages
|