Commit Graph

250 Commits

Author SHA1 Message Date
Joao
1cede1f4d6 change struct worker_share to global_data
change struct global_data to optyap_global_data
chnage field global in struct worker_share to optyap_global
2011-03-25 18:01:17 +00:00
Joao
6b48f8949f change macro FOREIGN_WL to FOREIGN 2011-03-25 15:21:02 +00:00
Joao
d6640260cc remove MAX_AGENTS 2011-03-24 17:07:01 +00:00
Joao
94e5681aed change preprocessor directive 2011-03-24 16:47:34 +00:00
Joao
8761a4c05c remove MAX_INITS 2011-03-24 16:17:18 +00:00
Vítor Santos Costa
0ffe3fa6a5 break GLOBALS into GLOBALS+LOCALS 2011-03-23 16:45:47 +00:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
1a7561c609 fix reinit and improve performance for cut predicates. 2011-03-22 11:07:49 +00:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
7670ce631b WIN32 patches 2011-03-21 17:07:58 +00:00
Vítor Santos Costa
0d6be2d858 improve string support
fix non-thread compilation.
2011-03-11 23:21:23 +00:00
Vítor Santos Costa
e05b84ce4e fix to thread support. 2011-03-11 19:49:32 +00:00
Vítor Santos Costa
014d903b4f iallows threads to start 2011-03-10 11:05:39 +00:00
Vítor Santos Costa
90d93fdbdd cache abstra machine register in threaded mode. 2011-03-07 16:02:55 +00:00
Vítor Santos Costa
73541f506f get rid of old SWI emulation stuff. 2011-03-01 10:41:06 +00:00
Vitor Santos Costa
3fe9b923cb more fixes to SWI emulation
integrate in main binary
2011-02-10 21:14:38 +00:00
Vítor Santos Costa
21bbffceda make sure we rebuild saved state stuff even if we do not actually enter top-level.
fix bug with some definitions being reset at load time.
2010-12-07 15:06:53 +00:00
Vítor Santos Costa
6fb86625c6 fix operator declaration (patch from Ulrich Neumerkel) 2010-11-05 11:00:14 +00:00
vsc
312d82816e fix memory allocation (MMAP) for shared LOCAL and GLOBAL in ENV_COPY 2010-10-15 02:06:37 +01:00
Vitor Santos Costa
b27a9869bf initialise for 1024 threads (report from Jiefie Ma). 2010-10-12 23:16:51 +01:00
Vitor Santos Costa
99c5a17b12 Implement Halt Hook (request from Bernd). 2010-09-24 14:00:53 +01:00
Vitor Santos Costa
9e3b363bfd xor should not be an operator (Ulrich's #185) 2010-09-21 22:25:47 +01:00
Vitor Santos Costa
d2a4b9d6b6 div operator 2010-08-30 21:51:44 -05:00
Vítor Santos Costa
28de20262f initialise *all* threads.
support SWI buffers.
2010-08-04 11:35:30 +01:00
Vítor Santos Costa
18d77309a6 c_inp_stream and friends are thread private! 2010-07-27 17:28:58 +01:00
Vítor Santos Costa
e031026a62 instrument PE locking
fix missing unlock in index_pred (if predicate had been indexed while we were
waiting).
2010-07-25 11:22:16 +01:00
Vitor Santos Costa
eebff5df6a fixes to YAP C-thread interface. 2010-07-23 12:07:33 +01:00
Vítor Santos Costa
2d6fc978e4 fix for threading initialization 2010-06-19 14:38:04 +01:00
Vitor Santos Costa
31554991c8 better emulation of SWI atom_t and functor_t. 2010-05-03 14:26:56 +01:00
Vitor Santos Costa
d5e1ff38f4 new interface to access globals. They are not in a file called GLOBALS, from which
we generate several files automatically.
2010-03-21 22:12:42 +00:00
Vitor Santos Costa
34ca485e42 new Atts code. 2010-03-08 09:23:58 +00:00
Vitor Santos Costa
f4e734da34 make number_chars and atom_chars SWI/ISO compatible by default. 2010-02-26 10:04:08 +00:00
U-Khasa\Vitor
33190e290d mingw complaint with recent versions of gcc 2010-02-10 03:03:03 -06:00
Vítor Manuel de Morais Santos Costa
139fc6c440 small fixes for CUT_C 2010-01-28 15:42:49 +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
79a1d3e13c fix thread stuff (obs from Jiefei Ma). 2009-12-17 23:55:09 -02:00
Vitor Santos Costa
6aff7bda59 fix initialization in threaded version. 2009-12-17 16:03:00 -02:00
Vítor Manuel de Morais Santos Costa
72e2a9658e make volatile part of the system (SWI compatibility). 2009-12-04 18:24:22 +00:00
Vitor Santos Costa
06d30b9fc9 Jump and Throw need to store the term away, if they try to use arena
the term will hang in the stack (#152).
2009-12-02 21:59:41 +00:00
Vítor Manuel de Morais Santos Costa
69988d0718 harmonize | priority (#149) 2009-11-27 15:55:46 +00:00
Vitor Santos Costa
ccaab728af handle user operators as "prolog" operators. 2009-11-25 00:38:29 +00:00
Vitor Santos Costa
ffe1dfdfff support for module based operators. 2009-11-20 00:33:14 +00:00
Vítor Manuel de Morais Santos Costa
99b2347cd8 SWI supports xor operator. 2009-11-11 10:54:38 +00:00
Vítor Manuel de Morais Santos Costa
6a8cee8b79 compilation fixes 2009-10-31 00:18:13 +00:00
Vitor Santos Costa
923094bd01 more updates to HEAPFIELDS. 2009-10-30 23:59:00 +00:00
Vitor Santos Costa
7116d1385b move more fields to HEAPFIELDS 2009-10-28 15:53:23 +00:00
Vitor Santos Costa
838b14cb77 more data structures. 2009-10-28 15:20:46 +00:00
Vitor Santos Costa
d3f969e1b1 various_codes includes all the head pointers to the code space. Try to
centralise everything in a single file (HEAPFIELDS) and generate them
from a Prolog script (buildheap).
2009-10-28 13:11:35 +00:00
Vitor Santos Costa
253444d7ca support parms.h
pass argv[0]
2009-10-23 09:09:16 +01:00
Costa Vitor
3cbdc8d14a make low level tracer understand yapor. 2009-08-19 23:46:51 -05:00
Vitor Santos Costa
22ac3ee80b Use >< for xor (Paulo Mour, Iso meeting) 2009-07-23 14:31:04 -05:00
Vitor Santos Costa
a1e6a2baa7 bad priority for +/1. (Paulo Moura, ISO) 2009-07-23 14:27:04 -05:00