summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-13 11:17:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-13 11:17:17 (GMT)
commitdcb024402d1a3c73cf744af89c99f82339dc215c (patch)
tree72c201f217d5ffed28bcd7ae7866f687633204d0 /unix
parent7b39886f02248093aab85c82068ee768586cf19e (diff)
downloadtcl-dcb024402d1a3c73cf744af89c99f82339dc215c.zip
tcl-dcb024402d1a3c73cf744af89c99f82339dc215c.tar.gz
tcl-dcb024402d1a3c73cf744af89c99f82339dc215c.tar.bz2
Patch from Zoran Vasiljevic, fix for missing proper initialization of the threaded allocator in some situations.
Diffstat (limited to 'unix')
-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