summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2015-05-17 20:10:47 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2015-05-17 20:10:47 (GMT)
commit4fb17a9293f7632080b8e6e0c4e6a87e943d1a78 (patch)
treec84f58530c1dcedc7c44331596ff4854de495cc0 /win
parent2c15b241eada4c3508f40bc48287bfc3617bbd76 (diff)
downloadtcl-4fb17a9293f7632080b8e6e0c4e6a87e943d1a78.zip
tcl-4fb17a9293f7632080b8e6e0c4e6a87e943d1a78.tar.gz
tcl-4fb17a9293f7632080b8e6e0c4e6a87e943d1a78.tar.bz2
Fix deadlock.
Diffstat (limited to 'win')
-rw-r--r--win/tclWinThrd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinThrd.c b/win/tclWinThrd.c
index 4748818..ef42a83 100644
--- a/win/tclWinThrd.c
+++ b/win/tclWinThrd.c
@@ -647,8 +647,8 @@ retry:
TclpMutexUnlock();
goto retry;
}
- EnterCriticalSection(csPtr);
TclpMutexUnlock();
+ EnterCriticalSection(csPtr);
}
/*