Commit Graph

540 Commits

Author SHA1 Message Date
vsc
d3f49b75df clause should not do write locking
expand_index should not care whether read_locks are held.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@996 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-18 01:43:32 +00:00
vsc
6031b7f049 protect dead threads.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@995 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-17 19:29:24 +00:00
vsc
3ecc66b7fd get rid of global variables in dbase
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@994 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-17 19:00:12 +00:00
vsc
41908d49cf Modules now are terms, not integers, even for meta-calls
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@993 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-17 18:24:44 +00:00
vsc
860ea6d115 Take care to process heap overflows correctly.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@992 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-17 16:27:22 +00:00
vsc
7d7b79630f - setconcurrency was spelled wrongly
- avoid several workers spewing out the same message in low_level_tracer.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@991 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-16 19:22:40 +00:00
vsc
f857af0c50 I assumed PP would always be locked at try, but that is not
true if the predicate is thread local.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@990 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-16 15:37:16 +00:00
vsc
b65681fe82 fix back tracer.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@989 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-14 00:41:12 +00:00
vsc
8e18b8cdf7 fixes to modules.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@988 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-13 23:53:20 +00:00
vsc
97c809d955 fix tables in format
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@987 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-13 22:10:10 +00:00
vsc
039655b767 simplify format, so that it will be easier to do bug fixes
fix bug in format output for floats
write and read dbrefs as $dbref(Address,0)


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@986 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-13 18:39:29 +00:00
vsc
e0c42788c7 fix bad calls to consult/reconsult
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@983 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-12 18:23:29 +00:00
vsc
f1063a27b2 fixes for stack overflow
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@982 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-12 17:09:17 +00:00
vsc
6662ca157e simplify module access
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@981 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-12 12:37:12 +00:00
vsc
08fe01ad98 a few more fixes, and we're done with threads (for now) ;-).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@980 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-11 16:18:16 +00:00
vsc
e612cb2f84 support thread local IDB
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@979 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-11 16:09:15 +00:00
vsc
eec29d7c27 fix thread_signal
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@978 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-11 13:59:53 +00:00
vsc
c9247ce308 make thread_local compatible with dynamic
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@977 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-11 13:33:19 +00:00
vsc
acbf57f59d improve threads support
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@976 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-11 01:20:56 +00:00
vsc
31b6bedf67 modules stuff fixes (yes, again).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@975 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-10 01:07:46 +00:00
vsc
3e468eea4e fix \x88
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@973 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-09 16:46:03 +00:00
vsc
cfd3683891 fix integer as DBRef
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@971 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-09 14:19:05 +00:00
vsc
ca4e754af7 protect writes to SignalMask and to CreepFlag. Reads are still not
locked.
fix XREGS for threads.
fix thread_signal not even being defined.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@969 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-06 17:22:24 +00:00
vsc
a5b6a22f27 AuxSp and friends are not bound to GlobalBase when using SYSTEM_MALLOC
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@968 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-06 16:40:50 +00:00
vsc
1079391767 fixes for restore
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@967 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-06 10:19:49 +00:00
vsc
fd7582b618 improve save/restore
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@966 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-06 02:26:23 +00:00
vsc
9b84cdfe5d improved support for threads and code area allocation using malloc
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@965 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-05 16:57:02 +00:00
vsc
cacc407677 Bug fixes!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@964 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-01-29 13:37:10 +00:00
vsc
0a7ec31659 bug fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@962 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-01-26 12:41:06 +00:00
vsc
ba9876268f threads, clean signals, and much more...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@957 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-01-23 02:23:51 +00:00
vsc
80fd1bcc91 many fixes: restart on threads, fixes for tabling, other generic fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@954 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-27 00:38:53 +00:00
vsc
b16de6ad3d more fixes over tabling changes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@953 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-18 17:36:54 +00:00
vsc
e7ab7b4c8a 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
2003-12-18 17:23:22 +00:00
vsc
221665bab8 support for tabling
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@951 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-18 16:38:40 +00:00
vsc
0c2a3b4aff fixes for bad indexing on floats.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@950 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-05 15:18:08 +00:00
vsc
4c264a968a new scheme for flags.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@949 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-04 18:13:04 +00:00
vsc
1aa1610e83 fix duplicated goal in meta-call execute0
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@944 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-02 18:57:48 +00:00
vsc
2fbad3d467 fix fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@943 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-02 01:15:50 +00:00
vsc
8dc293eba4 more fixes for nth_clause
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@942 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-02 00:36:27 +00:00
vsc
fd1bc58cde slowly restore nth_clause
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@941 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-01 19:22:01 +00:00
vsc
678ff0df82 many fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@940 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-01 17:27:42 +00:00
vsc
d6207a55f9 fix ensure_loaded to reload if called from a different module.
fix error handling in dbase.c


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@939 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-29 23:41:28 +00:00
vsc
2867b43f06 absmi.c: no need to reload CACHED_A1() during expand, and doing so will
destroy S and break RISC
alloc.c: guarantee alignment by 8 for SPARC32
iopreds.c: get rid of unnecessary decl\


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@938 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-28 01:26:53 +00:00
vsc
01703de3a0 fix lost indices in reconsult
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@937 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-27 21:47:44 +00:00
vsc
90829edc9e new infrastructure for static clauses:
they are now valid references
  they don't have the try_me block
jump_on_var now uses expand


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@936 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-26 18:36:35 +00:00
vsc
2fc4750456 a few more simple fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@935 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-24 00:00:43 +00:00
vsc
f5edbc8aa7 compact source mode.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@934 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-21 16:56:20 +00:00
vsc
ff20288236 don't keep source for log update facts, just execute them to find out the
arguments.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@932 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-18 19:24:46 +00:00
vsc
fae22bbf6b only delete log update facts with blobs when they cannot be in stacks.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@930 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-18 19:22:26 +00:00
vsc
7be28e4098 C-metapredicates must always be protected by an environment.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@929 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-18 19:16:08 +00:00