pmoura
|
9825556096
|
Added predicates thread_default/1 and thread_set_default/1 (as specified in the current threads standardization proposal).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1760 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-31 20:33:55 +00:00 |
|
pmoura
|
6e0c674f13
|
Added missing declaration for meta-predicate thread_create/2. Added support for consulting and defining the default value of detached/1 thread creation option.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1759 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-31 19:33:27 +00:00 |
|
pmoura
|
ce1694aa15
|
Corrected typo in declaration of meta-predicate with_mutex/2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1758 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-31 19:30:11 +00:00 |
|
pmoura
|
139e50a1ca
|
Corrected some bugs in the implementation of thread_sleep/1. Changed implementation to make the call succeed and return immediately when the argument is zero or a negative value (matching the current threads standardization proposal).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1757 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-31 16:10:29 +00:00 |
|
pmoura
|
9de3c0c7a9
|
Added call/5-12 (we alread have call_with_args/2-12); not sure they are worth. Alternative implementation for call_cleanup/2-3: previous implementation appears to be pruning cleanup goals before they are executed; needs testing.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1756 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-31 12:29:46 +00:00 |
|
pmoura
|
7c0175abbc
|
with_mutex/2 is a meta-predicate.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1755 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-31 10:59:16 +00:00 |
|
vsc
|
88f51c97d7
|
fix some bugs in call_cleanup: the result of action should not matter,
and !,fail would not wakeup the delayed goal.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1754 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-31 01:50:35 +00:00 |
|
pmoura
|
8ddee740a4
|
Implemented the predicate with_mutex/2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1751 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-30 10:49:37 +00:00 |
|
vsc
|
7d1b20c9cd
|
call_cleanup/2 and 3
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1750 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-30 03:25:47 +00:00 |
|
vsc
|
10a791842b
|
comment out unfinished code
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1749 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-29 10:27:03 +00:00 |
|
vsc
|
bc43ba2424
|
fix small bug
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1748 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-29 10:26:27 +00:00 |
|
vsc
|
c79a7a5bdb
|
allow coroutining plus tabling, this means fixing some trouble with the
gc and a bug in global variable handling.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1745 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-29 01:57:50 +00:00 |
|
vsc
|
bb51b72a9d
|
fix booting without global variables
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1742 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-27 12:27:15 +00:00 |
|
vsc
|
e79300c305
|
fix $$cut_by and $cut_by
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1739 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-27 01:48:18 +00:00 |
|
vsc
|
78b52b925c
|
diverse fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1738 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-27 01:32:38 +00:00 |
|
vsc
|
714ef7a560
|
do not creep in k and t
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1733 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-14 09:15:18 +00:00 |
|
vsc
|
90c1641841
|
several debugger and CLP(BN) improvements.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1732 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-12-13 16:10:26 +00:00 |
|
vsc
|
0705ca0640
|
support for UNICODE, and other bug fixes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1725 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-11-27 17:42:03 +00:00 |
|
vsc
|
0a21ac1b71
|
fix I/O mess
fix spy/reconsult mess
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1724 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-11-21 16:21:33 +00:00 |
|
vsc
|
d9029c6c56
|
fix library_directory
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1723 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-11-18 01:40:42 +00:00 |
|
vsc
|
93fd5bf9d5
|
style_checker was failing on DCGs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1722 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-11-17 12:10:46 +00:00 |
|
vsc
|
29642223bb
|
fixes for indexing code.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1719 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-11-15 00:13:37 +00:00 |
|
vsc
|
e112ce1a8a
|
fix bug in growstack
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1718 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-11-14 11:42:26 +00:00 |
|
pmoura
|
297d94b096
|
Corrected a bug in the definition of predicate length/2 when the second argument is a negative number.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1710 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-11-07 11:44:53 +00:00 |
|
vsc
|
9c506b2a2c
|
1estranha
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1709 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-11-06 18:35:05 +00:00 |
|
vsc
|
bd015b83ee
|
fix avl stuff and all/3 stuff
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1707 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-10-19 15:09:03 +00:00 |
|
vsc
|
cb34dbdc88
|
index.c implementation of trust_logical was decrementing the wrong
cp_tr
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1706 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-10-18 13:47:32 +00:00 |
|
vsc
|
a6365ffdea
|
fix new indexing code to actually recover space
fix predicate info to work for LUs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1701 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-10-10 20:21:42 +00:00 |
|
vsc
|
13080439a6
|
small fixes on threaded implementation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1700 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-10-10 14:08:17 +00:00 |
|
vsc
|
168bef9531
|
fix initialization of non-backtrackable module.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1698 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-09-28 17:24:40 +00:00 |
|
vsc
|
4ff41f7a62
|
improve indexing on floats
fix sending large lists to DB
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1692 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-09-20 20:03:51 +00:00 |
|
vsc
|
f0b132b083
|
more fixes for global data-structures.
statistics on atom space.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1690 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-09-01 20:14:42 +00:00 |
|
vsc
|
cd5bc14cfc
|
win32 fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1689 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-08-30 01:06:30 +00:00 |
|
vsc
|
182d4f4694
|
debug fixes to new globals code
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1686 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-08-23 12:12:14 +00:00 |
|
vsc
|
d11fd73306
|
global variables
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1685 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-08-22 16:12:46 +00:00 |
|
pmoura
|
326c64ff2c
|
Added a new multi-threading predicate, threads/0, which prints a nicely formatted table of current threads and their status. Similar to the predicate with the same name on SWI-Prolog except that it does not join terminated threads.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1658 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-05-25 23:46:57 +00:00 |
|
vsc
|
51553d40f2
|
more thread fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1655 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-05-25 17:35:49 +00:00 |
|
vsc
|
1d445a731d
|
Fix termination conditions for failed and detached threads.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1654 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-05-25 16:57:21 +00:00 |
|
vsc
|
f5b9000018
|
include thread_sleep functionality.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1653 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-05-25 16:28:28 +00:00 |
|
pmoura
|
3b033eee50
|
More strict argument checking for thread predicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1652 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-05-25 10:46:23 +00:00 |
|
pmoura
|
4f6d13e8c0
|
Add thread_create/2 predicate (same as thread_create/3 using default options).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1651 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-05-24 21:41:00 +00:00 |
|
pmoura
|
c5e3e3f528
|
Fixed use of thread defaults by the thread_create/3 predicate.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1650 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-05-24 15:27:45 +00:00 |
|
pmoura
|
cf28236537
|
Preliminary implementations of thread_defaults/1 and thread_set_defaults/1 for consulting/setting default sizes for new thread code areas.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1649 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-05-24 14:40:50 +00:00 |
|
vsc
|
00d12106d0
|
make chr work and other minor fixes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1648 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-05-24 02:35:39 +00:00 |
|
tiagosoares
|
21b2a88281
|
MYDDAS: MYDDAS version boot message
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1643 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-05-22 16:12:01 +00:00 |
|
vsc
|
326583c727
|
current_thread would report an error on a non-existing id or alias.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1636 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-05-18 16:46:43 +00:00 |
|
vsc
|
b54dd9e2b9
|
more thread stuff
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1631 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-05-04 18:46:50 +00:00 |
|
vsc
|
d9689d50d4
|
prolog_flag(toplevel_print_options,_) was undocumented and broken!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1611 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-04-25 16:02:20 +00:00 |
|
vsc
|
3b26b9603b
|
fix thread_peek_message to understand aliases
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1607 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-04-22 11:51:38 +00:00 |
|
vsc
|
d8ccb42440
|
fix current_thread to make sure it uses the integer ID even with aliases.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1604 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
|
2006-04-20 17:29:46 +00:00 |
|