Menu

Commit [r8961]  Maximize  Restore  History

1. Added creation of a lockfile when compiling to avoid multiple

processes trying to compile a .P file at the same time. This is not
guaranteed to avoid all kinds of collisions, just simple ones I've encountered
when starting multiple processes at the same time, when they use the same
files that need re-compiling.
2. Added code to catch compiler errors and close the object file. On windows
this lack had sometimes kept corrupted .xwam files from being deleted, and
resulted in confusing results, fixable only by explicitly deleting the .xwam
file. This may only be a windows issue.
3. In looking at compiler errors, I noticed that in the move from written
messages to thrown errors, we lost some possibly useful information in the
resulting error messages, so I added it back in. (And did a couple of
other small improvements in the area of compiler errors.)

dwarren 2017-01-14

changed /trunk/XSB/cmplib/auxlry.P
changed /trunk/XSB/cmplib/compile.H
changed /trunk/XSB/cmplib/compile.P
changed /trunk/XSB/cmplib/compile.xwam
changed /trunk/XSB/cmplib/inprog.H
changed /trunk/XSB/cmplib/inprog.P
changed /trunk/XSB/cmplib/inprog.xwam
changed /trunk/XSB/cmplib/parse.H
changed /trunk/XSB/cmplib/parse.P
changed /trunk/XSB/cmplib/parse.xwam
changed /trunk/XSB/cmplib/tp_eval.H
changed /trunk/XSB/cmplib/tp_eval.P
changed /trunk/XSB/cmplib/tp_eval.xwam
/trunk/XSB/cmplib/auxlry.P Diff Switch to side-by-side view
Loading...
/trunk/XSB/cmplib/compile.H Diff Switch to side-by-side view
Loading...
/trunk/XSB/cmplib/compile.P Diff Switch to side-by-side view
Loading...
/trunk/XSB/cmplib/compile.xwam
Binary file was changed.
/trunk/XSB/cmplib/inprog.H Diff Switch to side-by-side view
Loading...
/trunk/XSB/cmplib/inprog.P Diff Switch to side-by-side view
Loading...
/trunk/XSB/cmplib/inprog.xwam
Binary file was changed.
/trunk/XSB/cmplib/parse.H Diff Switch to side-by-side view
Loading...
/trunk/XSB/cmplib/parse.P Diff Switch to side-by-side view
Loading...
/trunk/XSB/cmplib/parse.xwam
Binary file was changed.
/trunk/XSB/cmplib/tp_eval.H Diff Switch to side-by-side view
Loading...
/trunk/XSB/cmplib/tp_eval.P Diff Switch to side-by-side view
Loading...
/trunk/XSB/cmplib/tp_eval.xwam
Binary file was changed.
MongoDB Logo MongoDB