Commit Graph

146 Commits

Author SHA1 Message Date
Vitor Santos Costa bb2d06fac9 debugging 2018-05-24 12:00:10 +01:00
Vítor Santos Costa 2d19db5fce debug exc 2018-04-09 02:00:51 +01:00
Vítor Santos Costa c1d81ea7c6 errors 2018-04-02 14:49:45 +01:00
Vitor Santos Costa d6aaa8a03e blobs 2018-02-23 14:09:58 +00:00
Vitor Santos Costa 4c25aa21c5 boot 2018-01-18 14:47:27 +00:00
Vitor Santos Costa a53615ceaf python .h collision 2017-02-20 14:21:46 +00:00
Vítor Santos Costa 2192f73b11 make it compile under MSN vc. Unfortunately it has a weird crash at boot :(
- Lots of indenting changes
- VC++ is strict with variadic macros
- VC++ does not accept unistd.h
- new interface for walltime
- VC++ does not seem to have support for integer overflow.
- VC++ defines YENV_REG?
- no access flags, x permissions ignored.
- new FindGMP supporting MPIR
- make horus optional (c++ is hard).
2016-02-28 19:32:55 +00:00
Vítor Santos Costa 661f33ac7e bug fices 2016-01-03 02:06:09 +00:00
Vítor Santos Costa f758ac2fe4 misc
Allow string in $VAR
init spell
2015-11-05 16:35:25 +00:00
Vítor Santos Costa 66372f256a fix typo 2015-10-09 10:31:52 +01:00
Vítor Santos Costa 9a962805ca fix gettid on MacOS 2015-10-05 10:30:17 +01:00
Vítor Santos Costa b871f6676e fix error handling 2015-09-25 10:57:26 +01:00
Vítor Santos Costa dbdae6a930 syntax error handling 2015-07-27 22:22:44 -05:00
Vítor Santos Costa f5b50a4179 fix locks 2015-06-19 10:10:02 +01:00
Vítor Santos Costa 1c06bfdc05 cmake & text support 2015-06-19 01:30:13 +01:00
Vítor Santos Costa 5da1be61cb with_mutex is always needed 2014-12-14 11:55:39 +00:00
Vítor Santos Costa d526545bc9 Merge branch 'master' of github.com:vscosta/yap-6.3
Conflicts:
	C/sysbits.c
	C/threads.c
2014-11-27 15:15:22 +00:00
Vítor Santos Costa a83ff038f4 Mutex stuff movibg to C 2014-11-27 10:02:04 +00:00
Vítor Santos Costa 6d82d4816a fix mutex creation 2014-11-26 09:45:39 +00:00
Vitor Santos Costa 624183b78e more thread work to cean-up mutexes. Not finshed yet 2014-11-25 19:52:51 +00:00
Vitor Santos Costa afc6c5d04e Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	C/threads.c
	JIT/HPP/EnvironmentInit.h
	packages/ProbLog/simplecudd_lfi/problogbdd_lfi.c
	pl/preds.yap
2014-11-25 16:53:35 +00:00
Vitor Santos Costa 50659967ed begin of support for named mutexes. 2014-11-25 16:41:53 +00:00
Vítor Santos Costa bb8ea9a27d fix current and system predicate 2014-11-25 12:03:48 +00:00
vscosta f1cbffae6f warnings & typo 2014-11-10 01:55:59 +00:00
Vitor Santos Costa e7fcc5d9a1 with_mutex should succeed even in single-thread mode 2014-11-09 17:26:08 +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 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
Vitor Santos Costa 46e1ce96b4 Yap_cputime() needs thread local memory, so be careful about releasing
local memory.
2014-10-15 12:32:00 +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 90289b7188 fix bad initialization. 2014-10-14 02:10:18 +01:00
Vítor Santos Costa 3c7779ec78 move message queues to C 2014-10-13 12:34:52 +01:00
Vítor Santos Costa 3009987985 update docs 2014-09-11 14:06:57 -05:00
Vítor Santos Costa 99713d81a6 replace locks by critical sections in interrupt handling 2014-09-02 14:19:23 -05:00
Vítor Santos Costa f00a6d5a40 small bugfixes and leaks, patch by João Silva 2014-06-14 10:27:39 +01:00
Vítor Santos Costa 6de73e6469 introudce handle_t and arity_t
Android: /assets and debugging
2014-06-11 19:35:45 +01:00
Vítor Santos Costa 71b40e0438 changes to support eclipse compat
support of Android assets as /assets files.
2014-06-04 22:08:37 +01:00
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