* exceptions.cc (_cygtls::interrupt_now): Reorder conditional

to call inside_kernel only if this isn't locked.
This commit is contained in:
Corinna Vinschen
2006-02-22 17:06:14 +00:00
parent b65479ca2e
commit 2eecb0478c
2 changed files with 6 additions and 1 deletions

View File

@ -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
{