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