fix non-tabling version
fix compilation with THREADS git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@952 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -2606,7 +2606,7 @@ new_lu_entry(Term t)
|
||||
WRITE_LOCK(RepAtom(at)->ARWLock);
|
||||
p0 = Yap_NewPredPropByAtom(at,2);
|
||||
} else {
|
||||
WRITE_LOCK(f->FRWLock);
|
||||
WRITE_LOCK(FunctorList->FRWLock);
|
||||
p0 = Yap_NewPredPropByFunctor(FunctorList,2);
|
||||
}
|
||||
pe = RepPredProp(p0);
|
||||
@@ -3729,7 +3729,7 @@ find_next_clause(DBRef ref0)
|
||||
|
||||
LOCK(cl->ClLock);
|
||||
TRAIL_CLREF(cl);
|
||||
INC_DBREF_COUNT(cl);
|
||||
INC_CLREF_COUNT(cl);
|
||||
UNLOCK(cl->ClLock);
|
||||
}
|
||||
#else
|
||||
|
Reference in New Issue
Block a user