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 | dcb024402d1a3c73cf744af89c99f82339dc215c (patch) | |
tree | 72c201f217d5ffed28bcd7ae7866f687633204d0 /unix/tclUnixThrd.c | |
parent | 7b39886f02248093aab85c82068ee768586cf19e (diff) | |
download | tcl-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/tclUnixThrd.c')
-rw-r--r-- | unix/tclUnixThrd.c | 2 |
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 |