Vitor Santos Costa
67de7e422d
Separate callable errors that refer to the predicate indicator.
2014-10-20 15:40:19 +01:00
Vitor Santos Costa
7f4b478572
make pthread locking default
2014-10-20 15:36:23 +01:00
Vítor Santos Costa
d40b9d1426
restore callable.
2014-10-20 09:20:56 +01:00
Vítor Santos Costa
bf0844a2a0
make sure to reset state after error.
2014-10-20 00:33:36 +01:00
Vítor Santos Costa
a837a303d4
fix warning.
2014-10-19 13:10:02 +01:00
Vítor Santos Costa
6a32efe51a
fix \+((!,fail)).
2014-10-19 13:09:35 +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
47d1bd5ecc
allow setting up arithmetic exception handling.
2014-10-19 11:27:53 +01:00
Vitor Santos Costa
13421d0cd7
fix minor locking problems and disable localization for now
2014-10-19 03:51:56 +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
a351e1f38f
use BGL lock for big operations.
2014-10-19 01:52:39 +01:00
Vítor Santos Costa
c7d2973c1e
avoid confusing gc.
2014-10-19 01:51:50 +01:00
Vítor Santos Costa
69d8b57776
allow peeking in dbterm queues.
2014-10-19 01:51:02 +01:00
Vítor Santos Costa
e668908a6f
beautifications.
2014-10-19 01:50:11 +01:00
Vítor Santos Costa
18506025c3
use PP with care:
...
- clean after interrupt;
- use it only for indexing code.
2014-10-19 01:48:38 +01:00
Vítor Santos Costa
827be2f8d0
more debugging versions
2014-10-19 01:44:48 +01:00
Vítor Santos Costa
438c09b5d0
if THREADS on, please usse locking.
2014-10-19 01:44:11 +01:00
Vítor Santos Costa
71c587bec1
better safe than..
2014-10-19 01:43:14 +01:00
Vítor Santos Costa
ba03f1da65
avoid fuzzy f errors
2014-10-16 23:56:12 +01:00
Vítor Santos Costa
168f0c6c0c
improve error handling
2014-10-16 23:55:34 +01:00
Theo
f5b48e3f82
Removed a few inline definitions
2014-10-16 18:26:16 +01:00
Fabrizio Riguzzi
fa24b214af
Merge branch 'master' of git@git.dcc.fc.up.pt:yap-6.3
2014-10-16 17:23:22 +02:00
Fabrizio Riguzzi
3ee50baf11
lemur example
2014-10-16 17:22:57 +02:00
Fabrizio Riguzzi
089bd928cf
fixed cplint compilation
2014-10-16 13:49:56 +02:00
Vitor Santos Costa
45e4384b6d
Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
2014-10-16 10:52:20 +01:00
Vitor Santos Costa
1bb12cbc35
second try to fix error handling in arithmetic expressions. THis time:
...
- exit at predicate end;
- just return first on multiple erors.
- YapArithError takes care of inner errors, Yp_EvalError fixes externals.
- a few ISO stuff to make Paulo's unit tests go happier.
2014-10-16 10:49:11 +01:00
Fabrizio Riguzzi
7227bc62f4
Merge branch 'master' of git@git.dcc.fc.up.pt:yap-6.3
2014-10-16 10:20:34 +02:00
Fabrizio Riguzzi
3c07f66cac
repaired configure
2014-10-16 10:20:07 +02:00
Theo
44d38d3018
Theo corrected a bug in the dbtries implementation
2014-10-15 20:53:32 +01:00
Theo
b9236fa5fa
Theo corrected a bug in the dbtries implementation
2014-10-15 19:55:40 +01:00
Fabrizio Riguzzi
ce12c424f3
initial version of LEMUR
2014-10-15 15:56:49 +02:00
Fabrizio Riguzzi
b25c9e5b61
lemur
2014-10-15 15:15:46 +02:00
Fabrizio Riguzzi
1d98481ac3
fixed compilation problems
2014-10-15 15:15:24 +02: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
Vitor Santos Costa
8014110080
fix debugging letfover.
2014-10-15 12:10:39 +01:00
Vítor Santos Costa
8576e67d84
generate exceptions on arithmetic errors
2014-10-15 11:06:07 +01:00
Vítor Santos Costa
a5d0b41f3b
fix file filter breakage
2014-10-15 01:51:09 +01:00
Vitor Santos Costa
49ccb545f8
fix bad call.
2014-10-14 19:39:20 +01:00
Vitor Santos Costa
aa80579684
recover the signals, like sigfpe.
2014-10-14 19:31:49 +01:00
Vitor Santos Costa
1983df00db
use LIBS, even if the -fPIC versions do not need them, the standard
...
one does.
2014-10-14 19:30:56 +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
d76c2a0039
fix duplicates.
2014-10-14 02:09:52 +01:00
Vítor Santos Costa
c95045e14c
improve support for floating point exceptions.
2014-10-14 01:13:31 +01:00
Vítor Santos Costa
3c7779ec78
move message queues to C
2014-10-13 12:34:52 +01:00
Vítor Santos Costa
7cbcd17993
avoid warning
2014-10-13 12:33:24 +01:00
Vítor Santos Costa
ce390d987e
fix initialization on undefined.
2014-10-12 11:02:47 +01:00
Vítor Santos Costa
f2038e9e36
use meta-predicates.
2014-10-12 11:01:30 +01:00
Vítor Santos Costa
c0b723ca14
fix module transparent.
2014-10-12 11:00:45 +01:00