oops
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2061 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -2410,7 +2410,7 @@ sweep_trail(choiceptr gc_B, tr_fr_ptr old_TR)
|
||||
gc may be called when executing a dynamic goal,
|
||||
check PP to avoid deadlock
|
||||
*/
|
||||
PredEntry *ap = cl->ClPred;
|
||||
PredEntry *ap = indx->ClPred;
|
||||
if (ap != PP)
|
||||
LOCK(ap->PELock);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user