summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-07-29 18:19:08 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-07-29 18:19:08 (GMT)
commite0dc5ad1dac50c004c16b1b5945aeda964c40ecd (patch)
tree5b6f051382e2f35069953bec645baefdad1b9e97 /generic/tclBasic.c
parentd63487fc10c65ca57db9496dc4300e63faece5fa (diff)
downloadtcl-e0dc5ad1dac50c004c16b1b5945aeda964c40ecd.zip
tcl-e0dc5ad1dac50c004c16b1b5945aeda964c40ecd.tar.gz
tcl-e0dc5ad1dac50c004c16b1b5945aeda964c40ecd.tar.bz2
* generic/tclBasic.c: Made use of the thread's alloc cache
* generic/tclInt.h: stored in the ekeko at interp creation * generic/tclNRE.h: to avoid hitting the TSD each time an * generic/tclThreadAlloc.c: NRE callback is pushed or pulled; the approach is suitably general to extend to evry other obj allocation where an interp is know; this is left for some other time, requires a lot of grunt work.
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index cb96099..3e5c1cf 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -16,7 +16,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.333 2008/07/29 05:30:25 msofer Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.334 2008/07/29 18:19:10 msofer Exp $
*/
#include "tclInt.h"
@@ -692,7 +692,8 @@ Tcl_CreateInterp(void)
TclInitLimitSupport(interp);
/*
- * Initialise the thread-specific data ekeko.
+ * Initialise the thread-specific data ekeko. Note that the thread's alloc
+ * cache was already initialised by the call to alloc the interp struct.
*/
#if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC)