Commit Graph

1808 Commits

Author SHA1 Message Date
pmoura
bf002885d7 Support a single alias per thread. Added error checking code to the predicates thread_self/1 and thread_join/2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1762 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-01 16:54:39 +00:00
pmoura
0711088664 Added error checking code to the predicate thread_detach/1.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1761 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-31 22:23:24 +00:00
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
a24c8bee1c Updated Logtalk description and usage instructions. Corrected a few typos.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1753 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-30 14:50:27 +00:00
pmoura
bb78dc5c7b Improved the documentation of the predicate sleep/1.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1752 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-30 11:29:30 +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
pmoura
b1b6156f6d Logtalk 2.29.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1747 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-29 09:54:42 +00:00
pmoura
23fb55aa62 Logtalk 2.29.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1746 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-29 09:48:32 +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
pmoura
d79dd807e6 Logtalk 2.29.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1744 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-28 13:03:34 +00:00
vsc
7316eb490c extra fixes for overflows with global variables, especially showing up
with malloc (thanks to Paulo Moura!)


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1743 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 18:26:19 +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
7a82e1b59b Varnumbers predicate (originally in QP)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1741 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 12:26:33 +00:00
vsc
b998d18a1a direct access to blood curdling stuff!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1740 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 01:54:21 +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
72064a8c74 compact representation for matrix operations
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1737 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-24 01:34:16 +00:00
vsc
9ff0059be3 create directory matrix in right place
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1736 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-24 01:33:32 +00:00
vsc
ab1d33cf8c small fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1735 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-24 01:11:13 +00:00
vsc
922406496b add matrix operations support
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1734 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-14 17:17:01 +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
pmoura
ce45aab144 Corrected typo.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1731 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-08 02:31:13 +00:00
vsc
7ddb9f5c97 fix unify_with_occurs_check/2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1730 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-04 12:05:14 +00:00
vsc
ac8590d1f6 fix wide_char support for name/2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1729 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-28 13:46:41 +00:00
vsc
72e4159967 include wchara.h
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1728 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-28 13:17:17 +00:00
vsc
5ed3ebc4b3 ifix warning
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1727 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-28 00:51:59 +00:00
vsc
e43560a7ea fix bug in threaded implementation
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1726 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-28 00:46:28 +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
1d49a93d76 fix handling of infinity in name/2 and friends.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1721 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-16 14:26:00 +00:00
vsc
a728bed4f8 fix case when we do an ungetc after we have found an EOF
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1720 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-16 13:56:08 +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
vsc
feca28c235 fix bug fix ;-).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1717 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-10 11:42:42 +00:00
vsc
cbe55c9fbb fix timestamp bug
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1716 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-10 03:06:06 +00:00
vsc
39ae1ce717 fix argument order in db statistics.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1715 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-08 01:56:47 +00:00
vsc
1e78b948dd avoid generating suspensions on static code.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1714 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-08 01:53:08 +00:00
pmoura
3ac73c8881 Logtalk 2.28.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1713 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-07 18:47:24 +00:00