summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2004-07-16 17:24:21 (GMT)
committerandreas_kupries <akupries@shaw.ca>2004-07-16 17:24:21 (GMT)
commit6d98f4802e28a85db3f31200679d8b44284f0584 (patch)
tree6c67000ce8268db0fc3a4479749a2f6b378a8d30
parent67b7d85c2dd267ed4ea308956907a48a2d186cca (diff)
downloadtcl-6d98f4802e28a85db3f31200679d8b44284f0584.zip
tcl-6d98f4802e28a85db3f31200679d8b44284f0584.tar.gz
tcl-6d98f4802e28a85db3f31200679d8b44284f0584.tar.bz2
* unix/tclUnixNotfy.c (NotifierThreadProc): Accepted Joe
Mistachkin's patch for [Tcl SF Bug 990500], properly closing the notifier thread when its exits.
-rw-r--r--ChangeLog6
-rw-r--r--unix/tclUnixNotfy.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 45a8481..1dddd5b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-07-16 Andreas Kupries <andreask@activestate.com>
+
+ * unix/tclUnixNotfy.c (NotifierThreadProc): Accepted Joe
+ Mistachkin's patch for [Tcl SF Bug 990500], properly closing the
+ notifier thread when its exits.
+
2004-07-15 Andreas Kupries <andreask@activestate.com>
* unix/tclUnixThrd.c (TclpFinalizeMutex): Accepted Joe
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