Commit Graph

100 Commits

Author SHA1 Message Date
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
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