fix signal handling in non-threaded (thanks to Paulo Moura).
This commit is contained in:
parent
18aadaecd8
commit
5bf44d2378
@ -131,7 +131,7 @@ do_signal(int wid, yap_signals sig USES_REGS)
|
|||||||
Unsigned(REMOTE_ThreadHandle(wid).current_yaam_regs->LCL0_);
|
Unsigned(REMOTE_ThreadHandle(wid).current_yaam_regs->LCL0_);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
LOCAL_Signals += SIGNAL_TO_BIT(sig);
|
LOCAL_Signals |= SIGNAL_TO_BIT(sig);
|
||||||
if (!LOCAL_InterruptsDisabled) {
|
if (!LOCAL_InterruptsDisabled) {
|
||||||
CreepFlag =
|
CreepFlag =
|
||||||
Unsigned(LCL0);
|
Unsigned(LCL0);
|
||||||
|
Reference in New Issue
Block a user