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)
commita32cc9b49b10ad7b67cdab3a692c84049ea4c634 (patch)
treec84f58530c1dcedc7c44331596ff4854de495cc0 /win
parente3a528bc44df1923f66633e5f5d6adcf0a8b5953 (diff)
downloadtcl-a32cc9b49b10ad7b67cdab3a692c84049ea4c634.zip
tcl-a32cc9b49b10ad7b67cdab3a692c84049ea4c634.tar.gz
tcl-a32cc9b49b10ad7b67cdab3a692c84049ea4c634.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);
}
/*