tclNotify.c File Reference#include "tclInt.h"
Go to the source code of this file.
Function Documentation
void Tcl_CreateEventSource |
( |
Tcl_EventSetupProc * |
setupProc, |
|
|
Tcl_EventCheckProc * |
checkProc, |
|
|
ClientData |
clientData | |
|
) |
| | |
void Tcl_DeleteEvents |
( |
Tcl_EventDeleteProc * |
proc, |
|
|
ClientData |
clientData | |
|
) |
| | |
void Tcl_DeleteEventSource |
( |
Tcl_EventSetupProc * |
setupProc, |
|
|
Tcl_EventCheckProc * |
checkProc, |
|
|
ClientData |
clientData | |
|
) |
| | |
int Tcl_DoOneEvent |
( |
int |
flags |
) |
|
Definition at line 855 of file tclNotify.c.
References ThreadSpecificData::blockTime, ThreadSpecificData::blockTimeSet, EventSource::checkProc, EventSource::clientData, ThreadSpecificData::firstEventSourcePtr, ThreadSpecificData::inTraversal, EventSource::nextPtr, Tcl_Time::sec, ThreadSpecificData::serviceMode, EventSource::setupProc, TCL_ALL_EVENTS, Tcl_AsyncInvoke(), Tcl_AsyncReady(), TCL_DONT_WAIT, TCL_IDLE_EVENTS, TCL_SERVICE_NONE, Tcl_ServiceEvent(), TCL_TSD_INIT, Tcl_WaitForEvent(), TclServiceIdle(), and Tcl_Time::usec.
Referenced by Tcl_UpdateObjCmd(), and Tcl_VwaitObjCmd().
int Tcl_GetServiceMode |
( |
void |
|
) |
|
int Tcl_ServiceAll |
( |
void |
|
) |
|
Definition at line 1043 of file tclNotify.c.
References ThreadSpecificData::blockTime, ThreadSpecificData::blockTimeSet, EventSource::checkProc, EventSource::clientData, ThreadSpecificData::firstEventSourcePtr, ThreadSpecificData::inTraversal, EventSource::nextPtr, ThreadSpecificData::serviceMode, EventSource::setupProc, TCL_ALL_EVENTS, Tcl_AsyncInvoke(), Tcl_AsyncReady(), TCL_SERVICE_ALL, TCL_SERVICE_NONE, Tcl_ServiceEvent(), Tcl_SetTimer(), TCL_TSD_INIT, and TclServiceIdle().
int Tcl_ServiceEvent |
( |
int |
flags |
) |
|
Definition at line 605 of file tclNotify.c.
References ckfree, ThreadSpecificData::firstEventPtr, ThreadSpecificData::lastEventPtr, ThreadSpecificData::markerEventPtr, Tcl_Event::nextPtr, Tcl_Event::proc, ThreadSpecificData::queueMutex, TCL_ALL_EVENTS, Tcl_AsyncInvoke(), Tcl_AsyncReady(), Tcl_MutexLock, Tcl_MutexUnlock, and TCL_TSD_INIT.
Referenced by Tcl_DoOneEvent(), and Tcl_ServiceAll().
void Tcl_SetMaxBlockTime |
( |
Tcl_Time * |
timePtr |
) |
|
Definition at line 224 of file tclNotify.c.
References Tcl_NotifierProcs::alertNotifierProc, Tcl_NotifierProcs::createFileHandlerProc, Tcl_NotifierProcs::deleteFileHandlerProc, Tcl_NotifierProcs::finalizeNotifierProc, Tcl_NotifierProcs::initNotifierProc, Tcl_NotifierProcs::serviceModeHookProc, Tcl_NotifierProcs::setTimerProc, TclStubs::tcl_AlertNotifier, TclStubs::tcl_CreateFileHandler, TclStubs::tcl_DeleteFileHandler, TclStubs::tcl_FinalizeNotifier, TclStubs::tcl_InitNotifier, TclStubs::tcl_ServiceModeHook, TclStubs::tcl_SetTimer, TclStubs::tcl_WaitForEvent, tclStubs, and Tcl_NotifierProcs::waitForEventProc.
Referenced by InitNotifier().
int Tcl_SetServiceMode |
( |
int |
mode |
) |
|
Definition at line 392 of file tclNotify.c.
References ThreadSpecificData::firstEventPtr, ThreadSpecificData::lastEventPtr, ThreadSpecificData::markerEventPtr, Tcl_Event::nextPtr, ThreadSpecificData::nextPtr, ThreadSpecificData::queueMutex, Tcl_MutexLock, Tcl_MutexUnlock, TCL_QUEUE_HEAD, TCL_QUEUE_MARK, TCL_QUEUE_TAIL, and ThreadSpecificData::threadId.
void TclFinalizeNotifier |
( |
void |
|
) |
|
Definition at line 165 of file tclNotify.c.
References ckfree, ThreadSpecificData::clientData, ThreadSpecificData::firstEventPtr, ThreadSpecificData::initialized, ThreadSpecificData::lastEventPtr, ThreadSpecificData::nextPtr, Tcl_Event::nextPtr, ThreadSpecificData::queueMutex, TclStubs::tcl_FinalizeNotifier, Tcl_MutexFinalize, Tcl_MutexLock, Tcl_MutexUnlock, TCL_TSD_INIT, and tclStubs.
Referenced by Tcl_FinalizeThread().
void TclInitNotifier |
( |
void |
|
) |
|
Variable Documentation
Generated on Wed Mar 12 12:18:33 2008 by
1.5.1
|