summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixThrd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-16 11:57:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-16 11:57:17 (GMT)
commit3dba96d22acacfab6277e66a0d58bd559c67f005 (patch)
treeef9865e112bac153d0d37550d465c63dcdb6f92c /unix/tclUnixThrd.c
parenta0ea496ffb745122a684f047b8e623b55734fa8c (diff)
parent35d8e3912d0ac6860f025acd049abc0de8c01f4b (diff)
downloadtcl-3dba96d22acacfab6277e66a0d58bd559c67f005.zip
tcl-3dba96d22acacfab6277e66a0d58bd559c67f005.tar.gz
tcl-3dba96d22acacfab6277e66a0d58bd559c67f005.tar.bz2
Fix for missing proper initialization of the threaded allocator in some situations. Problem reported by Zoran Vasiljevic, only noted when building/running NaviServer/AOLServer with Tcl 8.7 (trunk).
Diffstat (limited to 'unix/tclUnixThrd.c')
-rw-r--r--unix/tclUnixThrd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c
index 7394545..805599d 100644
--- a/unix/tclUnixThrd.c
+++ b/unix/tclUnixThrd.c
@@ -711,9 +711,7 @@ TclpFreeAllocMutex(
void
TclpInitAllocCache(void)
{
- pthread_mutex_lock(allocLockPtr);
pthread_key_create(&key, NULL);
- pthread_mutex_unlock(allocLockPtr);
}
void