Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-02-22 20:06:14 +0300
committerCorinna Vinschen <corinna@vinschen.de>2006-02-22 20:06:14 +0300
commit2eecb0478c16a0bd6122bab83d22e47ec4c65933 (patch)
tree056c786413a48dea84aad55b8423f9f152116f35 /winsup/cygwin/exceptions.cc
parentb65479ca2edb67be5ce209cbc6bf689f9c12480d (diff)
* exceptions.cc (_cygtls::interrupt_now): Reorder conditional
to call inside_kernel only if this isn't locked.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index cce217e87..33ba9f02d 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -726,7 +726,7 @@ _cygtls::interrupt_now (CONTEXT *cx, int sig, void *handler,
{
bool interrupted;
- if (!inside_kernel (cx) || (incyg || spinning || locked ()))
+ if (incyg || spinning || locked () || !inside_kernel (cx))
interrupted = false;
else
{