diff options
author | davygrvy <davygrvy@noemail.net> | 2002-11-26 22:35:18 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2002-11-26 22:35:18 (GMT) |
commit | 903fed5573662204d1f4049ed5b265c322781995 (patch) | |
tree | 6765f4bcd26ec5a89888c057215ebf08b8646895 /win/tclWinTime.c | |
parent | e8c3ade629aad08ebadafa3e5dc086fc04e15ee6 (diff) | |
download | tcl-903fed5573662204d1f4049ed5b265c322781995.zip tcl-903fed5573662204d1f4049ed5b265c322781995.tar.gz tcl-903fed5573662204d1f4049ed5b265c322781995.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.
FossilOrigin-Name: a2db2b4e4a429689d3cb2fe4d74218743ba60d98
Diffstat (limited to 'win/tclWinTime.c')
-rw-r--r-- | win/tclWinTime.c | 4 |
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, |