fix signal handling in non-threaded (thanks to Paulo Moura).

This commit is contained in:
Vítor Santos Costa 2014-10-11 01:37:34 +01:00
parent 18aadaecd8
commit 5bf44d2378
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ do_signal(int wid, yap_signals sig USES_REGS)
Unsigned(REMOTE_ThreadHandle(wid).current_yaam_regs->LCL0_);
}
#else
LOCAL_Signals += SIGNAL_TO_BIT(sig);
LOCAL_Signals |= SIGNAL_TO_BIT(sig);
if (!LOCAL_InterruptsDisabled) {
CreepFlag =
Unsigned(LCL0);