summaryrefslogtreecommitdiffstats
path: root/generic/tclThread.c
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2004-05-06 01:02:58 (GMT)
committerdavygrvy <davygrvy@pobox.com>2004-05-06 01:02:58 (GMT)
commit9da678046dcb1577cc64cf4a5936b5f4f0fea29d (patch)
tree8be2eee4339ed42785159834b5069e9f59dc7f0f /generic/tclThread.c
parent4f590a234bdd3971a2afe40a4640caedbcbb4408 (diff)
downloadtcl-9da678046dcb1577cc64cf4a5936b5f4f0fea29d.zip
tcl-9da678046dcb1577cc64cf4a5936b5f4f0fea29d.tar.gz
tcl-9da678046dcb1577cc64cf4a5936b5f4f0fea29d.tar.bz2
* generic/tclInt.h:
* generic/tclThread.c: * generic/tclEvent.c: * unix/tclUnixThrd.c: * win/tclWinThrd.c: Provisions made so masterLock, initLock, allocLock and joinLock mutexes can be recovered during Tcl_Finalize.
Diffstat (limited to 'generic/tclThread.c')
-rw-r--r--generic/tclThread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclThread.c b/generic/tclThread.c
index 5ddbb91..b0b2300 100644
--- a/generic/tclThread.c
+++ b/generic/tclThread.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: tclThread.c,v 1.6 2002/12/10 00:34:15 hobbs Exp $
+ * RCS: @(#) $Id: tclThread.c,v 1.6.2.1 2004/05/06 01:02:59 davygrvy Exp $
*/
#include "tclInt.h"
@@ -30,9 +30,9 @@ typedef struct {
char **list; /* List of pointers */
} SyncObjRecord;
-static SyncObjRecord keyRecord;
-static SyncObjRecord mutexRecord;
-static SyncObjRecord condRecord;
+static SyncObjRecord keyRecord = {0, 0, NULL};
+static SyncObjRecord mutexRecord = {0, 0, NULL};
+static SyncObjRecord condRecord = {0, 0, NULL};
/*
* Prototypes of functions used only in this file