summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authormig <mig>2011-03-18 12:54:54 (GMT)
committermig <mig>2011-03-18 12:54:54 (GMT)
commitd39d0d10ce4528636fd31ff8b8395689c601ecf4 (patch)
treefa0e823ccf0388ab9b5df5c91c91aa1247cf1624 /generic/tclEvent.c
parentd93502805549e12df3a79ffe8bd23204b04925fc (diff)
downloadtcl-d39d0d10ce4528636fd31ff8b8395689c601ecf4.zip
tcl-d39d0d10ce4528636fd31ff8b8395689c601ecf4.tar.gz
tcl-d39d0d10ce4528636fd31ff8b8395689c601ecf4.tar.bz2
development branch for allocator changes
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 78bd7b8..49e8137 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -1032,9 +1032,7 @@ TclInitSubsystems(void)
TclInitThreadStorage(); /* Creates master hash table for
* thread local storage */
-#if USE_TCLALLOC
TclInitAlloc(); /* Process wide mutex init */
-#endif
#ifdef TCL_MEM_DEBUG
TclInitDbCkalloc(); /* Process wide mutex init */
#endif
@@ -1211,9 +1209,7 @@ Tcl_Finalize(void)
* Close down the thread-specific object allocator.
*/
-#if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC)
- TclFinalizeThreadAlloc();
-#endif
+ TclFinalizeAlloc();
/*
* We defer unloading of packages until very late to avoid memory access