summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixNotfy.c
diff options
context:
space:
mode:
authorandreas_kupries <andreas_kupries@noemail.net>2004-07-16 17:24:21 (GMT)
committerandreas_kupries <andreas_kupries@noemail.net>2004-07-16 17:24:21 (GMT)
commit1f8734e136dbd32d765fe8f979f964da8a56e934 (patch)
tree6c67000ce8268db0fc3a4479749a2f6b378a8d30 /unix/tclUnixNotfy.c
parentc84dc6a45866b6b65778283fae8995790404cd94 (diff)
downloadtcl-1f8734e136dbd32d765fe8f979f964da8a56e934.zip
tcl-1f8734e136dbd32d765fe8f979f964da8a56e934.tar.gz
tcl-1f8734e136dbd32d765fe8f979f964da8a56e934.tar.bz2
* unix/tclUnixNotfy.c (NotifierThreadProc): Accepted Joe
Mistachkin's patch for [Tcl SF Bug 990500], properly closing the notifier thread when its exits. FossilOrigin-Name: 7030a54125b7318b783d6152ef3ff3f4a3db03ec
Diffstat (limited to 'unix/tclUnixNotfy.c')
-rw-r--r--unix/tclUnixNotfy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c
index 4449b47..233f97b 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixNotfy.c,v 1.11.2.3 2004/06/22 11:55:36 vasiljevic Exp $
+ * RCS: @(#) $Id: tclUnixNotfy.c,v 1.11.2.4 2004/07/16 17:24:21 andreas_kupries Exp $
*/
#include "tclInt.h"
@@ -1031,5 +1031,7 @@ NotifierThreadProc(clientData)
triggerPipe = -1;
Tcl_ConditionNotify(&notifierCV);
Tcl_MutexUnlock(&notifierMutex);
+
+ TclpThreadExit (0);
}
#endif