From 3ee2a1152945854a48e3cd9310ae1390c45f5d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Sun, 3 Jan 2016 01:13:39 +0000 Subject: [PATCH] thread support --- C/adtdefs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/C/adtdefs.c b/C/adtdefs.c index afcb6b73d..1e66f7b8f 100755 --- a/C/adtdefs.c +++ b/C/adtdefs.c @@ -787,7 +787,6 @@ static int ExpandPredHash(void) { /* fe is supposed to be locked */ Prop Yap_NewPredPropByFunctor(FunctorEntry *fe, Term cur_mod) { - CACHE_REGS PredEntry *p = (PredEntry *)Yap_AllocAtomSpace(sizeof(*p)); if (p == NULL) { @@ -931,7 +930,7 @@ Prop Yap_NewThreadPred(PredEntry *ap USES_REGS) { Prop Yap_NewPredPropByAtom(AtomEntry *ae, Term cur_mod) { Prop p0; PredEntry *p = (PredEntry *)Yap_AllocAtomSpace(sizeof(*p)); - + CACHE_REGS /* Printf("entering %s:%s/0\n", RepAtom(AtomOfTerm(cur_mod))->StrOfAE, * ae->StrOfAE); */