From cede94f6d247d5d5d93faebf69f24476905d640b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Sun, 19 Dec 2010 13:52:42 +0000 Subject: [PATCH] creeping should not prevent wake ups. --- C/absmi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/C/absmi.c b/C/absmi.c index c239cba6b..ee02b96f6 100755 --- a/C/absmi.c +++ b/C/absmi.c @@ -2702,7 +2702,9 @@ Yap_absmi(int inp) /* don't do a creep here; also, if our instruction is followed by 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(_cut_e))) { GONext();