summaryrefslogtreecommitdiffstats
path: root/win/tclWinInt.h
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-04-11 18:08:12 (GMT)
committersebres <sebres@users.sourceforge.net>2017-04-11 18:08:12 (GMT)
commit119d9ad3aa713f76079c0aebb625fb861b09fa68 (patch)
tree1df007d39ed59d380f50b50f76215d62db937e32 /win/tclWinInt.h
parent8b0910d31f1affbd2ccefd74d2df1eeba7a1f736 (diff)
downloadtcl-119d9ad3aa713f76079c0aebb625fb861b09fa68.zip
tcl-119d9ad3aa713f76079c0aebb625fb861b09fa68.tar.gz
tcl-119d9ad3aa713f76079c0aebb625fb861b09fa68.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.h9
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.