Use "resource_error(threads)" instead of "resource_error(max_threads)" for compatibility with SWI-Prolog, XSB, and the latest ISO Prolog Threads DTR.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2162 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -1334,7 +1334,7 @@ Yap_Error(yap_error_number type, Term where, char *format,...)
|
||||
Term ti[1];
|
||||
|
||||
i = strlen(tmpbuf);
|
||||
ti[0] = MkAtomTerm(Yap_LookupAtom("max_threads"));
|
||||
ti[0] = MkAtomTerm(Yap_LookupAtom("threads"));
|
||||
nt[0] = Yap_MkApplTerm(Yap_MkFunctor(Yap_LookupAtom("resource_error"),1), 1, ti);
|
||||
tp = tmpbuf+i;
|
||||
psize -= i;
|
||||
|
||||
Reference in New Issue
Block a user