This package provides commands able to start/stop synchronized timers.
Each time a timer is triggered, it executes a user-defined command. Timers are triggered at regular intervals, and are aligned (synchronized) with the system-clock.
For full details read the documentation :
SyncTimer is pure-tcl package, running on any platform (Tcl 8.5 or higher)
Start a new sync-timer
package require SyncTimer set t1 [SyncTimer::every "10 secs" "00:00:00" { puts "[clock format [clock seconds]]" }]
stop a scheduler timer
SyncTimer::cancel $t1
[clock milliseconds]
command).
SyncTimer should be installed under standard library path.
[clock milliseconds]
command (new in Tcl 8.5) for a
simpler and better synchronization.
Copyright (c) 2007 <Irrational Numbers>
For comments and suggestions, please write to : <aldo.buratti@tiscali.it>