diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-01-13 11:17:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-01-13 11:17:17 (GMT) |
commit | 6ecb7aeabf05319bda235ebe45a174137a391447 (patch) | |
tree | 72c201f217d5ffed28bcd7ae7866f687633204d0 /generic/tclThreadAlloc.c | |
parent | d42b3a00d3058b4e6eaabb24196fc0dbb55088dc (diff) | |
download | tcl-6ecb7aeabf05319bda235ebe45a174137a391447.zip tcl-6ecb7aeabf05319bda235ebe45a174137a391447.tar.gz tcl-6ecb7aeabf05319bda235ebe45a174137a391447.tar.bz2 |
Patch from Zoran Vasiljevic, fix for missing proper initialization of the threaded allocator in some situations.
Diffstat (limited to 'generic/tclThreadAlloc.c')
-rw-r--r-- | generic/tclThreadAlloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclThreadAlloc.c b/generic/tclThreadAlloc.c index 2ee758e..fc281db 100644 --- a/generic/tclThreadAlloc.c +++ b/generic/tclThreadAlloc.c @@ -210,6 +210,7 @@ GetCache(void) 1 << (NBUCKETS - 2 - i) : 1; bucketInfo[i].lockPtr = TclpNewAllocMutex(); } + TclpInitAllocCache(); } Tcl_MutexUnlock(initLockPtr); } |