Skip to content
Tcl Source Code Update of ”after”
Login

Update of ”after”

Overview

Artifact ID: 2dad701109202f2c148ef7e1165f51fba896e304
Page Name:after
Date: 2014-09-14 20:48:47
Original User: dgp
Next bc248494cacd609f74beae5bf5e619504a88c6dd
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 lower level half of this module needs only Time Measurement, Threads, Notifier, Event Loops, Allocation.

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.

Unless something is using it from the private stubs table, the only callers of TclServiceIdle are Tcl_DoOneEvent and Tcl_ServiceAll, so that connection might be resolved by redrawing module boundaries.