diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-02-22 17:06:14 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-02-22 17:06:14 +0000 |
commit | 2eecb0478c16a0bd6122bab83d22e47ec4c65933 (patch) | |
tree | 056c786413a48dea84aad55b8423f9f152116f35 /winsup/cygwin/exceptions.cc | |
parent | b65479ca2edb67be5ce209cbc6bf689f9c12480d (diff) | |
download | newlib-2eecb0478c16a0bd6122bab83d22e47ec4c65933.zip newlib-2eecb0478c16a0bd6122bab83d22e47ec4c65933.tar.gz newlib-2eecb0478c16a0bd6122bab83d22e47ec4c65933.tar.bz2 |
* 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.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index cce217e..33ba9f0 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 { |