summaryrefslogtreecommitdiffstats
path: root/win/tclWinThrd.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/tclWinThrd.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/tclWinThrd.c')
-rw-r--r--win/tclWinThrd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinThrd.c b/win/tclWinThrd.c
index cbef305..2f1d60e 100644
--- a/win/tclWinThrd.c
+++ b/win/tclWinThrd.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: tclWinThrd.c,v 1.21 2002/11/19 01:29:27 davygrvy Exp $
+ * RCS: @(#) $Id: tclWinThrd.c,v 1.22 2002/11/26 22:35:21 davygrvy Exp $
*/
#include "tclWinInt.h"
@@ -825,7 +825,7 @@ Tcl_ConditionWait(condPtr, mutexPtr, timePtr)
/*
* Be careful on timeouts because the signal might arrive right around
- * time time limit and someone else could have taken us off the queue.
+ * the time limit and someone else could have taken us off the queue.
*/
if (timeout) {