Overview
| Artifact ID: | 84f4e251b32ec1e93e5c0a10a3ef08eabfe983b6 |
|---|---|
| Page Name: | Notifier |
| Date: | 2014-09-05 21:10:30 |
| Original User: | dgp |
| Parent: | ff04107dc976020537f07dacc5c666ab6971b200 (diff) |
| Next | e139b1c1b0c8626b022476e01763a9ada4966acf |
Content
Source Files
Public Interface
- Tcl_SetNotifier
- Tcl_CreateEventSource
- Tcl_DeleteEventSource
- Tcl_QueueEvent
- Tcl_ThreadQueueEvent
- Tcl_DeleteEvents
- Tcl_ServiceEvent
- Tcl_GetServiceMode
- Tcl_SetServiceMode
- Tcl_SetMaxBlockTime
- Tcl_DoOneEvent
- Tcl_ServiceAll
- Tcl_ThreadAlert
- Tcl_Sleep
Private Interface
- TclInitNotifier
- TclFinalizeNotifier
- TclMacOSXNotiferAddRunLoopMode
- TclUnixWaitForFile
Driver Interface
- Tcl_SetTimer
- Tcl_WaitForEvent
- Tcl_CreateFileHandler
- Tcl_DeleteFileHandler
- Tcl_InitNotifier
- Tcl_FinalizeNotifier
- Tcl_AlertNotifier
- Tcl_ServiceModeHook
Directly Depends On Public Interface
Directly Depends On Private Interface of
Discussion
The dependence on private aspect of Time Measurement is the direct access of the tclScaleTimeProcPtr which could be avoided by use of Tcl_QueryTimeProc.
The three modules Notifier, Asynchronous Events, and Timer Events appears to be an indivisible, interdependent collection.
The extension/customization feature provided by Tcl_SetNotifier has a very convoluted implementation. Refactoring to something more like that used by Tcl_SetTimeProc appears to be feasible, with only compatibility impacts on the Xt Based Notifier which I can find no evidence of being used by anyone for anything.