summaryrefslogtreecommitdiffstats
path: root/win/tclWinTime.c
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2002-11-26 22:35:19 (GMT)
committerdavygrvy <davygrvy@pobox.com>2002-11-26 22:35:19 (GMT)
commitc0a30cfc05c2bb7dc8e9948c9869c54d847db951 (patch)
tree6765f4bcd26ec5a89888c057215ebf08b8646895 /win/tclWinTime.c
parentdb8a753b2cace43e1aafe49067460d9c1599051b (diff)
downloadtcl-c0a30cfc05c2bb7dc8e9948c9869c54d847db951.zip
tcl-c0a30cfc05c2bb7dc8e9948c9869c54d847db951.tar.gz
tcl-c0a30cfc05c2bb7dc8e9948c9869c54d847db951.tar.bz2
* win/tclWinConsole.c:
* win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * win/tclWinThrd.c: * win/tclWinTime.c: General cleanup of all worker threads used by the channel drivers. Eliminates the normal case where the worker thread is terminated ('cept the winsock one). Instead, use kernel events to signal a clean exit. Only when the worker thread is blocked on an I/O call is the thread terminated. Essentially, this makes all other channel worker threads behave like the PipeReaderThread() function for it's cleaner exit behavior. This appears to fix [Bug 597924] but needs 3rd party confirmation to close the issue.
Diffstat (limited to 'win/tclWinTime.c')
-rw-r--r--win/tclWinTime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c
index 87d3c4e..13d1a4e 100644
--- a/win/tclWinTime.c
+++ b/win/tclWinTime.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinTime.c,v 1.11 2002/10/09 23:57:25 kennykb Exp $
+ * RCS: @(#) $Id: tclWinTime.c,v 1.12 2002/11/26 22:35:21 davygrvy Exp $
*/
#include "tclWinInt.h"
@@ -304,7 +304,7 @@ Tcl_GetTime(timePtr)
timeInfo.readyEvent = CreateEvent( NULL, FALSE, FALSE, NULL );
timeInfo.exitEvent = CreateEvent( NULL, FALSE, FALSE, NULL );
timeInfo.calibrationThread = CreateThread( NULL,
- 8192,
+ 256,
CalibrationThread,
(LPVOID) NULL,
0,