summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixNotfy.c
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2004-07-16 17:38:27 (GMT)
committerandreas_kupries <akupries@shaw.ca>2004-07-16 17:38:27 (GMT)
commite40644c547171476e6a3c82a26de2be520bada29 (patch)
treeef854d33b11c2ea8428b4af60ecdbe64dfe48791 /unix/tclUnixNotfy.c
parent41c41a5064ca0fd45c653ad74c6bffa38cde6e71 (diff)
downloadtcl-e40644c547171476e6a3c82a26de2be520bada29.zip
tcl-e40644c547171476e6a3c82a26de2be520bada29.tar.gz
tcl-e40644c547171476e6a3c82a26de2be520bada29.tar.bz2
* unix/tclUnixNotfy.c (NotifierThreadProc): Accepted Joe
Mistachkin's patch for [Tcl SF Bug 990500], properly closing the notifier thread when its exits.
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 6c0a6ca..6e3cf45 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.16 2004/06/22 13:09:00 vasiljevic Exp $
+ * RCS: @(#) $Id: tclUnixNotfy.c,v 1.17 2004/07/16 17:38:28 andreas_kupries Exp $
*/
#include "tclInt.h"
@@ -1030,5 +1030,7 @@ NotifierThreadProc(clientData)
triggerPipe = -1;
Tcl_ConditionNotify(&notifierCV);
Tcl_MutexUnlock(&notifierMutex);
+
+ TclpThreadExit (0);
}
#endif