Commit Graph

122 Commits

Author SHA1 Message Date
Vítor Santos Costa
3164ed2d61 doc support 2015-01-04 23:58:23 +00:00
Vítor Santos Costa
53877ad426 docs 2014-12-24 15:32:29 +00:00
Vítor Santos Costa
a83ff038f4 Mutex stuff movibg to C 2014-11-27 10:02:04 +00:00
Vítor Santos Costa
570513f8f9 fix mutex creation 2014-11-26 09:46:44 +00:00
Vitor Santos Costa
624183b78e more thread work to cean-up mutexes. Not finshed yet 2014-11-25 19:52:51 +00:00
Vítor Santos Costa
d40b9d1426 restore callable. 2014-10-20 09:20:56 +01:00
Vítor Santos Costa
0cd0ece207 make error handling for callable more ISO like. 2014-10-19 12:48:14 +01:00
Vítor Santos Costa
4a2d6b9137 typo. 2014-10-19 02:02:46 +01:00
Vítor Santos Costa
53a8a8f7c9 try to make MT more robust by:
- tracking memory overflows (still worried about blobs)
- moving core components to C-code, namely the mailboxes.
- reducing locking: too many locks == deadlock.
thanks to Paulo Moura for the test suite!
2014-10-19 01:54:57 +01:00
Vítor Santos Costa
186adc2053 More thread fixes, including true anonymous mqueues, worker_id for sequential,
support for arithmetic exceptions on mac, fixes for with_mutex, fixes for dangling pointers
 in thread termination. Uuufff...
2014-10-14 15:53:24 +01:00
Vítor Santos Costa
3c7779ec78 move message queues to C 2014-10-13 12:34:52 +01:00
Vítor Santos Costa
e9cc545f68 big cleanup: cpmpile under style checker.
fix broken module stuff.
2014-10-07 01:35:41 +01:00
Vítor Santos Costa
aeb54ebc61 more doc udates 2014-09-15 13:10:49 -05:00
Vítor Santos Costa
8eec3113be improve docs 2014-09-15 03:13:50 -05:00
Vítor Santos Costa
3009987985 update docs 2014-09-11 14:06:57 -05:00
Vítor Santos Costa
b26b5b1b7d small fixes 2014-09-09 23:53:41 -05:00
Vítor Santos Costa
37e8fcc353 Fix: bad implementation of with_mutex/2 2014-05-30 01:00:57 +01:00
Vítor Santos Costa
a8c77d2609 fix string_concat/2 2014-04-09 12:39:29 +01:00
Paulo Moura
2314efdc6c Make thread_property/2 deterministic when the second argument is instantiated 2013-11-11 17:11:53 +00:00
U-w7\vsc
4260c37245 remove debugging output from thread close 2013-10-30 16:27:12 +00:00
Vitor Santos Costa
1cbe82da1e SWI flags compat 2013-10-29 12:43:31 +00:00
Paulo Moura
0e2402b27e Fix message_queue_property/2 to accept integers as valid queue indentifiers 2013-10-10 11:44:52 +01:00
Paulo Moura
c412f6de2f Fix built-in predicate threads/0 2013-10-10 11:00:36 +01:00
Vítor Santos Costa
14796f5d90 patch syntax error (by Paulo Moura) 2012-10-22 10:18:01 +01:00
Vítor Santos Costa
140a19ba7c make thread_exit follow protocol 2012-10-19 09:27:19 +01:00
Vitor Santos Costa
4da6733194 fix bad initialization of mqs 2012-10-17 17:25:35 +01:00
Vitor Santos Costa
55267cac34 fix no threads case. 2012-08-22 15:29:28 -05:00
Vitor Santos Costa
051936ca50 fix thread bootup (with mutex/2). 2012-06-26 13:02:44 +01:00
Vítor Santos Costa
65e61cfefd patch by UN: op/3 typo in error 2012-03-22 22:13:11 +00:00
ubu32
d62fb5c2d7 fix volatile processing (doesn't do much more). 2011-07-10 04:52:33 -07:00
Vítor Santos Costa
3bfcc2e7b4 fix bad call. 2011-03-14 20:37:55 +00:00
Vítor Santos Costa
921fb1c815 thread_create should ignore bad options, not complain. 2011-03-11 20:36:00 +00:00
Vítor Santos Costa
e05b84ce4e fix to thread support. 2011-03-11 19:49:32 +00:00
Vitor Santos Costa
7f70a797f4 fix error messages to obey standard. 2010-10-12 22:02:24 +01:00
Vítor Santos Costa
57ca6f6406 fix with_mutex in uni-threaded case.
avoid dynamics for stable data.
2010-06-17 00:26:41 +01:00
Vítor Santos Costa
a055cc4637 meta declarations for thread stuff (from Paulo Moura). 2010-06-14 08:56:21 +01: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
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
f61aee4a83 third argument to thread_create needs :, #91 2009-05-30 10:43:03 -05:00
Vitor Santos Costa
46543ccb5c remove redundant $between 2009-05-21 00:40:52 -05:00
Vitor Santos Costa
50fd7dca5a support thread_initialization. 2009-04-25 12:54:21 -05:00
Vítor Santos Costa
65ccd336b2 fix a stupid threads bug 2008-09-04 16:58:45 +01: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
pmoura
f26c4592bb Corrected a bug in setting a thread exit status in case the thread goal results in an exception; exit status should be exception(Exception) and not exception(error(Exception,_)).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2270 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-08 16:55:23 +00:00
pmoura
502a5571a8 Corrected a bug in setting a thread exit status in case the thread goal results in an exception; exit status should be exception(Exception) and not exception(error(Exception,_)).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2269 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-08 16:45:52 +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