summaryrefslogtreecommitdiffstats
path: root/generic/tclNotify.c
diff options
context:
space:
mode:
authorstanton <stanton>1998-12-10 21:21:26 (GMT)
committerstanton <stanton>1998-12-10 21:21:26 (GMT)
commitb506f6289f0b2d01d9891ece0a217f4cd45224d8 (patch)
tree8ff7d5150e8620ca2d808b8194b8075e00e9e7fc /generic/tclNotify.c
parent18da38f7b3f2484255769f506b0fc0cc76508baf (diff)
downloadtcl-b506f6289f0b2d01d9891ece0a217f4cd45224d8.zip
tcl-b506f6289f0b2d01d9891ece0a217f4cd45224d8.tar.gz
tcl-b506f6289f0b2d01d9891ece0a217f4cd45224d8.tar.bz2
* Fixed lots of files that used TCL_THREAD instead of TCL_THREADS.
* generic/tclEncoding.c (Tcl_FreeEncoding): Moved most of the code into a static FreeEncoding routine that does not grab the encodingMutex to avoid deadlocks/races when called from other routines that already have the mutex.
Diffstat (limited to 'generic/tclNotify.c')
-rw-r--r--generic/tclNotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclNotify.c b/generic/tclNotify.c
index a103f5d..0a8bd28 100644
--- a/generic/tclNotify.c
+++ b/generic/tclNotify.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclNotify.c,v 1.1.2.4 1998/11/11 04:54:17 stanton Exp $
+ * RCS: @(#) $Id: tclNotify.c,v 1.1.2.5 1998/12/10 21:21:52 stanton Exp $
*/
#include "tclInt.h"
@@ -80,7 +80,7 @@ static Tcl_ThreadDataKey dataKey;
*/
static ThreadSpecificData *firstNotifierPtr;
-#ifdef TCL_THREAD
+#ifdef TCL_THREADS
static Tcl_Mutex listLock;
#endif