fix deadlock when trying to create a module with the same name as a

predicate (for now, just don't lock modules). obs Paulo Moura.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1869 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2007-04-18 23:01:16 +00:00
parent ee03654060
commit dc3b7079f4
3 changed files with 25 additions and 13 deletions

View File

@@ -11,8 +11,11 @@
* File: stdpreds.c *
* comments: General-purpose C implemented system predicates *
* *
* Last rev: $Date: 2007-02-26 10:41:40 $,$Author: vsc $ *
* Last rev: $Date: 2007-04-18 23:01:16 $,$Author: vsc $ *
* $Log: not supported by cvs2svn $
* Revision 1.118 2007/02/26 10:41:40 vsc
* fix prolog_flags for chr.
*
* Revision 1.117 2007/01/28 14:26:37 vsc
* WIN32 support
*
@@ -2480,9 +2483,9 @@ cont_current_predicate(void)
Term name;
while (pp != NULL) {
if (pp->PredFlags & HiddenPredFlag)
if (pp->PredFlags & HiddenPredFlag) {
pp = pp->NextPredOfModule;
else
} else
break;
}
if (pp == NULL)