Commit Graph

109 Commits

Author SHA1 Message Date
Vítor Santos Costa
dee3774bbc fix small EClipse complaints 2014-05-25 20:50:07 +01:00
Vitor Santos Costa
aba5f3d88b handle locking more carefully (especially protect gc and stack shifting). 2014-04-23 22:41:12 +01:00
Vitor Santos Costa
506ac57509 enable debugging to start by default. 2014-03-20 13:33:47 +00:00
Vitor Santos Costa
2c89aadb11 WIN64 support (sill needs improvement) 2014-03-06 02:09:48 +00:00
Vitor Santos Costa
d9fce3935b Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3 2014-02-22 22:57:01 +00:00
Vitor Santos Costa
9464c9f85c win32 fixes 2014-02-22 22:56:41 +00:00
João Santos
2e3f99d89a fix YAPOR_THREADS (prof. Vitor Costa) 2013-12-17 15:57:24 +00:00
Vítor Santos Costa
7d6d369e63 avaoid local 2013-12-15 10:27:53 +00:00
Vitor Santos Costa
44d28aa0c9 cleanup on exception handling 2013-12-12 14:24:40 +00:00
Paulo Moura
20b0d7050d Allow threads/0 to list zombie threads 2013-11-25 00:35:29 +01:00
Vitor Santos Costa
04f3fa4d9d bad LOCAL 2013-11-20 22:24:31 +00:00
Vitor Santos Costa
4e4f21e1dc upgrade to latest swi 2013-11-15 01:10:25 +00:00
Vitor Santos Costa
4fa9021a7b integration work:
- use SWI flags whenever possible
  - support by module unknown, escapes, strings
  - accesss thread info fom SWI
  - allow strings to be input as strings.
  - remove some unused flags.
2013-11-13 10:38:20 +00:00
Vítor Santos Costa
0d45ff8d37 unlock threads while in zombie mode, nad enusre that the GlobalLock is always asked before and let after locking a thread. 2013-11-12 08:43:45 +00:00
Vítor Santos Costa
e813c75814 enable thread debugging 2013-11-12 08:34:26 +00:00
Vítor Santos Costa
bef9cec46a fix startup module on new thread to be user module 2013-09-28 23:20:39 +01:00
Vítor Santos Costa
1eab4bc936 fix case new thread is created from thread that never had a thread installed 2013-09-17 00:26:37 +01:00
Vitor Santos Costa
9107af2e3d improve thread startup 2012-12-13 18:12:50 +00:00
Vitor Santos Costa
e41f821d67 improve multi-threading support from C-interface. Still not quite there. 2012-12-11 22:07:10 +00:00
Vitor Santos Costa
62aa6df644 fix bad register initialization. 2012-12-10 12:12:54 +00:00
Vitor Santos Costa
e92b8791c5 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2012-10-19 18:12:06 +01:00
Vitor Santos Costa
88f2dc7730 change the way predicates are hidden 2012-10-19 18:10:48 +01:00
Vítor Santos Costa
27737c31bd fix debug messages 2012-10-19 09:28:13 +01:00
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