thread support
This commit is contained in:
parent
fa586f8769
commit
8208a181d3
@ -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 )) {
|
||||||
|
Reference in New Issue
Block a user