Vítor Santos Costa
2192f73b11
make it compile under MSN vc. Unfortunately it has a weird crash at boot :(
...
- Lots of indenting changes
- VC++ is strict with variadic macros
- VC++ does not accept unistd.h
- new interface for walltime
- VC++ does not seem to have support for integer overflow.
- VC++ defines YENV_REG?
- no access flags, x permissions ignored.
- new FindGMP supporting MPIR
- make horus optional (c++ is hard).
2016-02-28 19:32:55 +00:00
Vítor Santos Costa
661f33ac7e
bug fices
2016-01-03 02:06:09 +00:00
João Santos
bb061f9db8
remove GLOBAL_executing_workers
2014-02-13 10:13:45 +00:00
Ricardo Rocha
26e6281bb7
fix PgEnt_strs_in_use counter
2012-05-22 14:47:47 +01:00
Ricardo Rocha
1dcc8bd393
adptation of the memory allocator based on pages to work with threads
2012-05-14 19:11:58 +01:00
Ricardo Rocha
1fe86ba2b3
fix parallel_findall/3
2012-01-05 16:04:32 +00:00
Ricardo Rocha
c594d321ef
Miguel's support for multi-threaded tabling
2011-12-22 16:50:20 +00:00
Ricardo Rocha
f11e435db6
fix TRIE_LOCK_AT_WRITE_LEVEL scheme
2011-12-14 10:33:18 +00:00
Ricardo Rocha
d33829205e
support for local pages with threads
2011-12-07 13:53:20 +00:00
Ricardo Rocha
65b73a8a09
data structures for multithreading tabling
2011-11-22 17:09:29 +00:00
Ricardo Rocha
e993c2473b
the trie locking data structure (node field or global lock array) is now defined explicitly
2011-11-16 11:42:04 +00:00
Ricardo Rocha
ec0fa8a2a3
tries locking scheme is now independent for the answer, subgoal and global trie
2011-11-15 16:57:51 +00:00
Ricardo Rocha
efc59cf8d6
DepFr_cons field initialization for threads
2011-07-26 16:49:49 +01:00
Ricardo Rocha
8116aac432
parallel execution is now explicit using one of the new built-in
...
predicates: parallel/1, parallel_findall/3 or parallel_once/1.
2011-06-21 15:19:07 +01:00
Ricardo Rocha
d601ba9caf
fix yapor memory allocation
2011-06-02 17:01:00 +01:00
Joao
e319b2fbf9
fix YAPOR THREADS. fix threads + tabling.
2011-05-27 17:21:03 +01:00
Joao
8170f6d3cb
Some global variables(Yap_thread_gl) in C/init.c are now declared in misc/LOCALS
2011-05-23 16:19:47 +01:00
Joao
d6fc76faf1
Remove GLOBAL_AGcLastCall. Fix GLOBAL_check_sg_fr.
2011-05-10 12:20:22 +01:00
Joao
ebd0e8a7c0
change global_optyap_data macros to GLOBAL_.
2011-05-10 11:47:18 +01:00
Ricardo Rocha
a532b6cff3
struct local_optyap_data is now part of struct worker_local (generated from the file LOCALS)
2011-05-09 19:36:51 +01:00
Joao
c27f79eeb1
fix YapOr threads.
2011-04-29 14:59:17 +01:00
Joao
d4825159ee
fix configure file. change memory management in YapOr.
2011-04-28 09:48:42 +01:00
Joao
274de7652f
fix error messages in configure file.
2011-04-18 14:59:17 +01:00
Joao
b6e0a64e56
fix memory allocation for YapOR
2011-04-14 19:19:13 +01:00
Joao
47f7ff0ad7
change Yap_init_optyap_global to Yap_init_optyap_data.
2011-04-07 16:37:41 +01:00
Joao
056ef59d4b
fix tabling. change Yap_timestamp to Yap_ma_timestamp. change Yap_time_stamp to Yap_timestamp.
2011-04-07 16:00:26 +01:00
Joao
b4a00d1fef
rename function Yap_init_global to Yap_init_optyap_global.
2011-04-01 11:13:48 +01:00
Joao
662658986a
chnage define ACOW to YAPOR_COW
2011-03-30 16:39:09 +01:00
Joao
810c96416b
change define ENV_COPY to YAPOR_COPY
2011-03-30 14:35:10 +01:00
Joao
f890a11377
change macros GLOBAL to Yap
2011-03-29 18:19:18 +01:00
Vítor Santos Costa
90d93fdbdd
cache abstra machine register in threaded mode.
2011-03-07 16:02:55 +00:00
Vitor Santos Costa
2db6020e80
remove debugging message.
2010-11-28 11:52:56 +00:00
Vitor Santos Costa
4aee4df719
single initialization for top frame.
2010-11-28 11:51:31 +00:00
vsc
312d82816e
fix memory allocation (MMAP) for shared LOCAL and GLOBAL in ENV_COPY
2010-10-15 02:06:37 +01:00
Ricardo Rocha
16c1056a01
tabling support for the common global trie is now available by default
...
(macro GLOBAL_TRIE was removed). Use 'yap_flag(tabling_mode,MODE)' to
set the storing mode for all tabled predicates to MODE ('local_trie' or
'global_trie). Alternatively, use 'tabling_mode(PRED,MODE)' to set the
default tabling mode of predicate PRED to MODE ('local_trie' or
'global_trie'). The default mode for all tabled predicates is 'local_trie'.
2010-04-23 04:22:10 +01:00
Ricardo Rocha
c221c2ff85
renaming some OPTYap files in order to have a more consistent name organization
2010-04-19 02:34:08 +01:00
Ricardo Rocha
73d210c991
reducing the number of macros for error checking in the OPTYap files
2010-04-18 04:59:11 +01:00
Ricardo Rocha
52a2b49263
new support for the common global trie (version GT-ST: global trie for subterms)
2010-04-03 05:58:14 +01:00
Ricardo Rocha
3742f09c10
missing brackets in condition using macro new_dependency_frame()
2010-03-15 14:21:16 +00:00
Ricardo Rocha
ee0022bb47
checking for frozen segments in the trail stack in now done using the
...
macro IN_BETWEEN(Yap_TrailBase, ref, Yap_TrailTop)
2010-03-12 20:02:32 +00:00
Vitor Santos Costa
9c85f67eee
fix one more CP field to offset.
2010-02-02 23:42:15 +00:00
Vitor Santos Costa
995e8f6dc7
fix cut handling with threads
...
do not compile or.threadengine unless yapor on.
2010-01-27 11:01:28 +00:00
Vitor Santos Costa
44a418bd04
small orp fixes.
2010-01-15 12:04:01 +00:00
Vítor Manuel de Morais Santos Costa
5ef31fbfd2
experiment in or-parallel threads.
2010-01-14 15:58:19 +00:00
Vitor Santos Costa
d9016fa650
init_local should be called Yap_init_local to avoid clashesh.
2009-11-19 08:24:38 +00:00
Vitor Santos Costa
0179998d60
change Heap.h to YapHeap.h
...
rename $live to prolog/0 (for SWI compatibility).
2009-10-23 14:22:17 +01:00
Ricardo Rocha
7d841065e9
support for the common global trie (version GT-T: global trie for terms)
2009-09-27 02:31:31 +01:00
ricroc
ddcd80d2a9
*** empty log message ***
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2215 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-11 16:30:28 +00:00
ricroc
9bb854ab62
tabling support for 64 bits
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1870 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-04-26 14:13:21 +00:00
vsc
4c0865ca37
more tabling fixes
...
use malloc when AllocCodeSpace fails
use snprintf when available.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1458 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-16 01:55:03 +00:00