diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-08-20 12:46:09 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-08-20 12:46:09 (GMT) |
| commit | 94b338844e5af1659858a5446714c65fcbaecf54 (patch) | |
| tree | 712f52156ca72c69d6725c316cdeafb23015cdbc /win/tclWinNotify.c | |
| parent | c7dbd6907620a619bd90128866a1c0563ee0563a (diff) | |
| parent | d296d56f3640aec2b135f6d4a6fce255cb90a5fa (diff) | |
| download | tcl-94b338844e5af1659858a5446714c65fcbaecf54.zip tcl-94b338844e5af1659858a5446714c65fcbaecf54.tar.gz tcl-94b338844e5af1659858a5446714c65fcbaecf54.tar.bz2 | |
TIP #511 implementation: Implement Tcl_AsyncMarkFromSignal()
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 |
