creeping should not prevent wake ups.

This commit is contained in:
Vítor Santos Costa 2010-12-19 13:52:42 +00:00
parent 4b2156446a
commit cede94f6d2

View File

@ -2702,7 +2702,9 @@ Yap_absmi(int inp)
/* /*
don't do a creep here; also, if our instruction is followed by don't do a creep here; also, if our instruction is followed by
a execute_c, just wait a bit more */ a execute_c, just wait a bit more */
if (ActiveSignals & YAP_CREEP_SIGNAL || if ( (ActiveSignals & YAP_CREEP_SIGNAL &&
/* keep on going if there is something else */
!(ActiveSignals & ~YAP_CREEP_SIGNAL)) ||
(PREG->opc != Yap_opcode(_procceed) && (PREG->opc != Yap_opcode(_procceed) &&
PREG->opc != Yap_opcode(_cut_e))) { PREG->opc != Yap_opcode(_cut_e))) {
GONext(); GONext();