should exit if interrupts *are* disabled.
This commit is contained in:
parent
99ac4f4d4a
commit
46dc2b1a49
|
@ -1775,7 +1775,7 @@ Yap_Error(yap_error_number type, Term where, char *format,...)
|
||||||
Yap_PrologMode &= ~InErrorMode;
|
Yap_PrologMode &= ~InErrorMode;
|
||||||
LOCK(SignalLock);
|
LOCK(SignalLock);
|
||||||
/* we might be in the middle of a critical region */
|
/* we might be in the middle of a critical region */
|
||||||
if (!Yap_InterruptsDisabled) {
|
if (Yap_InterruptsDisabled) {
|
||||||
UncaughtThrow = TRUE;
|
UncaughtThrow = TRUE;
|
||||||
UNLOCK(SignalLock);
|
UNLOCK(SignalLock);
|
||||||
#if PUSH_REGS
|
#if PUSH_REGS
|
||||||
|
|
Reference in New Issue