diff options
author | sebres <sebres@users.sourceforge.net> | 2017-04-11 18:08:12 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2017-04-11 18:08:12 (GMT) |
commit | d99c5f05d972536e1110de39d62d9d167524f6a2 (patch) | |
tree | 1df007d39ed59d380f50b50f76215d62db937e32 /win/tclWinInt.h | |
parent | 9cdb43f156b83ecc400935cb6f424ceb55f30e75 (diff) | |
download | tcl-d99c5f05d972536e1110de39d62d9d167524f6a2.zip tcl-d99c5f05d972536e1110de39d62d9d167524f6a2.tar.gz tcl-d99c5f05d972536e1110de39d62d9d167524f6a2.tar.bz2 |
shared structures of pipe-workers rewritten using atomic state of the thread;
asynchronous start/stop of pipe-workers (if possible), try the soft way to end workers using cancelSynchronousIo before it would be terminated;
Diffstat (limited to 'win/tclWinInt.h')
-rw-r--r-- | win/tclWinInt.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/win/tclWinInt.h b/win/tclWinInt.h index 6b098f8..b8d493e 100644 --- a/win/tclWinInt.h +++ b/win/tclWinInt.h @@ -32,6 +32,15 @@ typedef struct TCLEXCEPTION_REGISTRATION { #endif /* + * Windows version dependend functions + */ +typedef struct TclWinProcs { + BOOL (WINAPI *cancelSynchronousIo)(HANDLE); +} TclWinProcs; + +MODULE_SCOPE TclWinProcs *tclWinProcs; + +/* * Some versions of Borland C have a define for the OSVERSIONINFO for * Win32s and for NT, but not for Windows 95. * Define VER_PLATFORM_WIN32_CE for those without newer headers. |