Vitor Santos Costa
2d71a96d54
support mingw emulation.
2012-06-29 15:37:31 -05: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
c594d321ef
Miguel's support for multi-threaded tabling
2011-12-22 16:50:20 +00:00
Vítor Santos Costa
84b017e5fd
fix small problems in thread package.
2011-12-01 11:05:27 +00:00
Vítor Santos Costa
0b81d99803
initialise thread local prredicates.
2011-11-30 13:03:22 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
b6aca9463d
Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
2011-08-18 22:35:13 +01:00
Ricardo Rocha
efc59cf8d6
DepFr_cons field initialization for threads
2011-07-26 16:49:49 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda
mode changes
2011-07-25 17:09:28 +01:00
Vítor Santos Costa
03fe3285e9
fix warnings.
2011-06-06 10:32:58 +01:00
Joao
971ad94311
moved several global variables to misc/GLOBALS
2011-05-25 16:40:36 +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
676dd26c90
change macros in misc/GLOBALS to GLOBAL_.
2011-05-10 10:06:51 +01:00
Ricardo Rocha
026616963c
remove FOREIGN_ macros and use REMOTE_ instead
2011-05-09 20:19:49 +01:00
Ricardo Rocha
f22994edf9
remove macro MY_ThreadHandle and use LOCAL_ThreadHandle instead
2011-05-09 19:55:06 +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
dc3c54c164
change LOCALS macros.
2011-05-04 10:11:41 +01:00
Joao
f890a11377
change macros GLOBAL to Yap
2011-03-29 18:19:18 +01:00
Joao
6b48f8949f
change macro FOREIGN_WL to FOREIGN
2011-03-25 15:21:02 +00:00
Vítor Santos Costa
92af2e8740
ipatch case no more threads are available and alloc top_frame
2011-03-23 15:15:09 +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
Vitor Santos Costa
6834ac544b
fix thread creation.
2010-07-30 12:08:00 +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
5b6014175e
support case where engines have no associated pthread
2010-07-25 11:21:15 +01:00
Vitor Santos Costa
f3b9811ef7
more packages to implement better thread interface.
2010-07-23 15:54:13 +01:00
Vitor Santos Costa
eebff5df6a
fixes to YAP C-thread interface.
2010-07-23 12:07:33 +01:00
Vitor Santos Costa
8cab19c6b1
fix bad recovery of thread locals (report from Jiefie Ma).
2010-06-30 17:50:28 +02:00
Vítor Santos Costa
de336d7ffe
handle NULL pointer case.
2010-06-14 09:27:48 +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
U-Khasa\Vitor
33190e290d
mingw complaint with recent versions of gcc
2010-02-10 03:03:03 -06:00
Vitor Santos Costa
a0b48eb108
protect against calls to garbage collector (obs from Paulo Moura).
2010-01-31 23:03:55 +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
0179998d60
change Heap.h to YapHeap.h
...
rename $live to prolog/0 (for SWI compatibility).
2009-10-23 14:22:17 +01:00
Vitor Santos Costa
475e681907
do fetch and remove a the same time: PopFromDB
2009-06-13 13:06:02 -05:00
Vitor Santos Costa
44f7e67394
make sure we reset global variables when exiting a thread
2009-05-17 10:38:39 -07:00
vsc
df22b925b5
fix thread messages
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2309 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-19 00:44:37 +00:00
vsc
d170b34624
MaxOS fixes
...
Avoid a thread deadlock
improvements to SWI predicates.
make variables_in_term system builtin.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2304 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-12 01:27:23 +00:00
vsc
b3a0b412f1
fix threads/0.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2302 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-08 16:05:10 +00:00
vsc
5776abb31c
more thread fixes.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2301 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-08 14:05:34 +00:00
vsc
2581c3a3bf
more threadin fixes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2300 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-07 20:51:23 +00:00
vsc
85d7d39dbf
more thread fixes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2297 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-06 17:32:22 +00:00
vsc
02497c1172
fix manual and message handling
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2253 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-03 09:24:28 +00:00
vsc
ade7b34d49
thread fixes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2251 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-28 17:18:35 +00:00
vsc
257c3a2cbc
fix threads and LU
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2233 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-10 23:24:13 +00:00
vsc
516a349aad
only evaluate lists with a single character.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2214 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-08 15:36:53 +00:00
vsc
a1327cfe9b
fix small bug in compilation
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2202 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-03 15:15:21 +00:00
vsc
78d7105c16
protect signal handling with locks for threaded version.
...
fix close/1 entry in manual (obs from Nicos).
fix -f option in chr Makefile.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2201 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-03 13:26:38 +00:00