D 2014-09-14T20:42:02.567 L Timer\sEvents P 8005ecccfc7077f720a9b2b057d018fd579c9d4f U dgp W 1259

Source Files

* portions of [/finfo?name=generic/tclTimer.c|tclTimer.c]

Public Interface

* Tcl_CreateTimerHandler * Tcl_DeleteTimerHandler * Tcl_DoWhenIdle * Tcl_CancelIdleCall

Private Interface

* TclCreateAbsoluteTimerHandler * TclServiceIdle

Directly Depends On Public Interface

* [Threads] * [Allocation] * [Event Loops] * [Time Measurement] * [Notifier]

Directly Depends On Private Interface of

* [Threads]

Discussion

The private dependency is on TclThreadDataKeyGet which appears easily convertible to Tcl_GetThreadData. 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. Z 3accfb830822d91cd2e777647157e7d4