diff options
author | Joe Mistachkin <joe@mistachkin.com> | 2015-05-17 20:10:47 (GMT) |
---|---|---|
committer | Joe Mistachkin <joe@mistachkin.com> | 2015-05-17 20:10:47 (GMT) |
commit | 4fb17a9293f7632080b8e6e0c4e6a87e943d1a78 (patch) | |
tree | c84f58530c1dcedc7c44331596ff4854de495cc0 /unix | |
parent | 2c15b241eada4c3508f40bc48287bfc3617bbd76 (diff) | |
download | tcl-4fb17a9293f7632080b8e6e0c4e6a87e943d1a78.zip tcl-4fb17a9293f7632080b8e6e0c4e6a87e943d1a78.tar.gz tcl-4fb17a9293f7632080b8e6e0c4e6a87e943d1a78.tar.bz2 |
Fix deadlock.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixThrd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index 42b6bda..3a59624 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -502,8 +502,8 @@ retry: TclpMutexUnlock(); goto retry; } - pthread_mutex_lock(pmutexPtr); TclpMutexUnlock(); + pthread_mutex_lock(pmutexPtr); } /* |