summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixThrd.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tclUnixThrd.c')
-rw-r--r--unix/tclUnixThrd.c2
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);
}
/*