Skip to content
Tcl Source Code Update of ”Timer Events”
Login

Update of ”Timer Events”

Overview

Artifact ID: 2836d0a2636858267ab4c064e20bd6577c540969
Page Name:Timer Events
Date: 2014-09-07 21:07:05
Original User: dgp
Parent: fab73f37d25034bfe0705389fc20777b53ba2f26 (diff)
Next 3bf3c078a27645c5d286bd0806bdbdaec067c8fa
Content

Source Files

Public Interface

Private Interface

Directly Depends On Public Interface

Directly Depends On Private Interface of

Discussion

This is really two modules. First the machinery to provide the public C routines listed above. Second additional code needed to make use of those routines and other public Tcl C routines to define the after command. Most of the dependencies listed here are in support of the command.

The private dependencies are just shortcuts, nothing essential (for example, TclGetString where Tcl_GetString would function just as well.

The private routine TclCreateAbsoluteTimerHandler appears to exist just so that Tcl_LimitSetTime doesnt have to pass through milliseconds (and the loss of precision implicit in that conversion). Since Tcl_Time values are already in the public Tcl interface, this would be a good routine to make public, though perhaps with a name change.