diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-01-16 11:57:17 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-01-16 11:57:17 (GMT) |
| commit | 3dba96d22acacfab6277e66a0d58bd559c67f005 (patch) | |
| tree | ef9865e112bac153d0d37550d465c63dcdb6f92c /unix | |
| parent | a0ea496ffb745122a684f047b8e623b55734fa8c (diff) | |
| parent | 35d8e3912d0ac6860f025acd049abc0de8c01f4b (diff) | |
| download | tcl-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')
| -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 |
