* exceptions.cc (_cygtls::interrupt_now): Reorder conditional
to call inside_kernel only if this isn't locked.
This commit is contained in:
parent
b65479ca2e
commit
2eecb0478c
|
@ -1,3 +1,8 @@
|
|||
2006-02-22 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* exceptions.cc (_cygtls::interrupt_now): Reorder conditional
|
||||
to call inside_kernel only if this isn't locked.
|
||||
|
||||
2006-02-22 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES to
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue