thread support

This commit is contained in:
Vítor Santos Costa 2015-09-29 23:01:19 +01:00
parent fa586f8769
commit 8208a181d3

View File

@ -679,7 +679,7 @@ check_alarm_fail_int(int CONT USES_REGS)
} }
static int static int
stack_overflow( PredEntry *pe, CELL *env, yamop *cp USES_REGS, arity_t nargs ) stack_overflow( PredEntry *pe, CELL *env, yamop *cp, arity_t nargs USES_REGS)
{ {
if ((Int)(Unsigned(YREG) - Unsigned(HR)) < StackGap( PASS_REGS1 ) || if ((Int)(Unsigned(YREG) - Unsigned(HR)) < StackGap( PASS_REGS1 ) ||
Yap_get_signal( YAP_STOVF_SIGNAL )) { Yap_get_signal( YAP_STOVF_SIGNAL )) {