diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-08-17 16:16:29 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-08-17 16:16:29 (GMT) |
| commit | 5f83d31eceac5d0a48f75293f02725a59168beaf (patch) | |
| tree | 088ba5712739eee4f6fd1ff277de958420af7021 /win/tclWinNotify.c | |
| parent | 58502bda0b655dcb2b8e619c1cce4ba99f294aad (diff) | |
| download | tcl-5f83d31eceac5d0a48f75293f02725a59168beaf.zip tcl-5f83d31eceac5d0a48f75293f02725a59168beaf.tar.gz tcl-5f83d31eceac5d0a48f75293f02725a59168beaf.tar.bz2 | |
tip#511 proposed implementation
Diffstat (limited to 'win/tclWinNotify.c')
| -rw-r--r-- | win/tclWinNotify.c | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/win/tclWinNotify.c b/win/tclWinNotify.c index 068675c..f951acf 100644 --- a/win/tclWinNotify.c +++ b/win/tclWinNotify.c @@ -353,6 +353,32 @@ TclpServiceModeHook( /* *---------------------------------------------------------------------- * + * TclAsyncNotifier -- + * + * This procedure is a no-op on Windows. + * + * Result: + * Always true. + * + * Side effetcs: + * None. + *---------------------------------------------------------------------- + */ + +int +TclAsyncNotifier( + int sigNumber, /* Signal number. */ + Tcl_ThreadId threadId, /* Target thread. */ + ClientData clientData, /* Notifier data. */ + int *flagPtr, /* Flag to mark. */ + int value) /* Value of mark. */ +{ + return 0; +} + +/* + *---------------------------------------------------------------------- + * * NotifierProc -- * * This procedure is invoked by Windows to process events on the notifier @@ -396,6 +422,29 @@ NotifierProc( /* *---------------------------------------------------------------------- * + * TclpNotifierData -- + * + * This function returns a ClientData pointer to be associated + * with a Tcl_AsyncHandler. + * + * Results: + * On Windows, returns always NULL. + * + * Side effects: + * None. + * + *---------------------------------------------------------------------- + */ + +ClientData +TclpNotifierData(void) +{ + return NULL; +} + +/* + *---------------------------------------------------------------------- + * * TclpWaitForEvent -- * * This function is called by Tcl_DoOneEvent to wait for new events on |
