be careful to make sure we can hanle the interrupt.

This commit is contained in:
Vitor Santos Costa
2009-05-21 00:39:14 -05:00
parent a59a434d66
commit 88b5f1a735
2 changed files with 8 additions and 8 deletions

View File

@@ -473,7 +473,7 @@ inline static void
do_signal(yap_signals sig)
{
LOCK(SignalLock);
if (Yap_InterruptsEnabled)
if (!Yap_InterruptsDisabled)
CreepFlag = Unsigned(LCL0);
ActiveSignals |= sig;
UNLOCK(SignalLock);