summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-08-30 17:24:25 (GMT)
committerhobbs <hobbs>2006-08-30 17:24:25 (GMT)
commit9c3c7bbb5a78c67c9e24f4af24df1e183472330d (patch)
tree5511b9035000c24427ad2ca3ae9d4ed030fd8ecc /generic
parentbcd3bb70453870d6812d5df7bdb8e662cd6e8b16 (diff)
downloadtcl-9c3c7bbb5a78c67c9e24f4af24df1e183472330d.zip
tcl-9c3c7bbb5a78c67c9e24f4af24df1e183472330d.tar.gz
tcl-9c3c7bbb5a78c67c9e24f4af24df1e183472330d.tar.bz2
* generic/tclBasic.c (Tcl_CreateInterp): init iPtr->threadId
Diffstat (limited to 'generic')
-rw-r--r--generic/tclBasic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 1941ca0..e13d01e 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.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: tclBasic.c,v 1.75.2.21 2006/03/06 21:56:13 dgp Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.75.2.22 2006/08/30 17:24:25 hobbs Exp $
*/
#include "tclInt.h"
@@ -363,6 +363,7 @@ Tcl_CreateInterp()
iPtr->emptyObjPtr = Tcl_NewObj(); /* another empty object */
Tcl_IncrRefCount(iPtr->emptyObjPtr);
iPtr->resultSpace[0] = 0;
+ iPtr->threadId = Tcl_GetCurrentThread();
iPtr->globalNsPtr = NULL; /* force creation of global ns below */
iPtr->globalNsPtr = (Namespace *) Tcl_CreateNamespace(interp, "",