A timer object can be created to notify the application at regular intervals.
timer-create
timer-delete
timer-start
timer-stop
long ( timer-create)
Creates a timer object. Use timer-start to start the timer, and register a Notify callback function to receive notification.
long ( timer-delete long id)
Stops and deletes the timer object.
long ( timer-start long id long milliseconds)
Starts the timer, notifying at intervals of duration milliseconds.
long ( timer-stop long id)
Stops the timer.