Commit Graph

2122 Commits

Author SHA1 Message Date
vsc
5b6e8e742b more fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2176 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-31 22:56:22 +00:00
pmoura
407b94d5b6 Recognize Apple's MacOS X as a Unix system (this sets the flag "unix" to "true" when ruuning under MacOS X).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2175 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-31 19:51:07 +00:00
pmoura
ff59818068 Reimplemented the message_queue_create/1-2 predicates and added new predicate message_queue_property/2 for compliance with the ISO Prolog Threads DTR.
Remove thread info when closing a detached thread.

Simplified creation of thread message queues.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2174 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-31 18:41:36 +00:00
pmoura
8a318a5e83 Updated the implementation of the thread_detach/1 predicate to help ensure that threads already terminated at the time of the call are destroyed instead of becoming zombie threads.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2173 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-31 16:26:31 +00:00
pmoura
8a1cfeb770 Added support for the SWI-Prolog thread_create/3 option at_exit/1 (work in progress)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2172 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-28 10:57:28 +00:00
vsc
24b91ce2e1 rl_tree library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2171 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-27 14:59:29 +00:00
vsc
1c6b91cb72 improve WIN32 support and installation
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2170 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-27 00:41:33 +00:00
nunofonseca
48f393bedf RL-Trees module.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2169 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-26 23:05:22 +00:00
vsc
bee5cd8c0b fix thread_dettach
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2168 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-26 14:51:41 +00:00
vsc
f933b890f0 fix thread_dettach
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2167 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-26 14:41:45 +00:00
vsc
5a88dc6333 more icc fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2166 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-26 14:37:08 +00:00
vsc
0c0826b938 fix some icc warnings
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2165 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 22:03:14 +00:00
vsc
b2274186bd make or-parallelism compile again
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2164 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 16:45:53 +00:00
vsc
84c15fda0b regexp core-dump (obs from Ryszard Szopa)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2163 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 11:54:08 +00:00
pmoura
fa73e89807 Use "resource_error(threads)" instead of "resource_error(max_threads)" for compatibility with SWI-Prolog, XSB, and the latest ISO Prolog Threads DTR.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2162 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 01:04:27 +00:00
vsc
47d7eee66d ensure locking
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2161 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 00:15:05 +00:00
vsc
e2519f4e3a handle message_queue_create/1 with vars right
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2160 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 00:11:55 +00:00
vsc
7d6e7f2613 make sure thread messages go to user_error.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2159 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-24 23:54:32 +00:00
vsc
c20c0f7767 fix maximum number of threads open error
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2158 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-24 23:48:47 +00:00
vsc
ba2023436a fix bug in all_calls
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2157 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-22 23:35:00 +00:00
vsc
18568bd46f fix unnecessary exception.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2156 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-22 11:38:05 +00:00
vsc
1090771c90 fix breakage in module system
disable stack writing in error for now


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2155 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-17 18:31:16 +00:00
vsc
19a9340011 oops
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2154 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-17 12:11:56 +00:00
vsc
e13e788411 avoid silly message
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2153 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-17 12:08:28 +00:00
vsc
6fe55c580f fix flags
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2152 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-15 12:19:33 +00:00
vsc
a6c3af96be chr updates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2151 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 22:37:07 +00:00
vsc
3101d1ff61 -q flag
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2150 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 18:41:52 +00:00
davidvaz
abbfff0917 Added wkb support to MYDDAS
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2149 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 18:31:05 +00:00
vsc
2fe3053c78 fix exists/1
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2148 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 18:03:57 +00:00
vsc
381a3401ac further upgrades to chr
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2147 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 17:43:13 +00:00
vsc
54ceaa1f37 string manipulation utilities for scripts.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2146 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 17:38:24 +00:00
vsc
0e45f242d4 update to CLP(QR). Note that CLP(Q) is still unsupported.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2145 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 17:16:47 +00:00
davidvaz
e59b7fb409 Added wkb support to MYDDAS
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2144 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 17:13:34 +00:00
vsc
d02bc3de81 update chr
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2143 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 14:38:02 +00:00
vsc
785ddd56af member was deterministic :(
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2142 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 19:18:29 +00:00
vsc
fda34985b9 fix lists predicates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2141 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 17:05:04 +00:00
vsc
c07c5286c0 replace $append by lists:append
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2140 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 16:26:51 +00:00
vsc
8498d60233 document stream stuff (Nicos request).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2139 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 16:19:02 +00:00
vsc
fc22f62eb7 fix verbose flag
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2138 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 15:51:58 +00:00
vsc
d0cd8182d9 fix path issues when opening files
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2137 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 15:37:34 +00:00
vsc
cab59d9f3a [ ] should be processed by parser, not by scanner.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2136 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-10 14:11:38 +00:00
rzf
93e6f17c3b removed singletons
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2135 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-09 08:21:00 +00:00
rzf
ee2c0ca203 added installation of new solvers
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2134 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 15:41:01 +00:00
rzf
094c256ae7 added test file for the new solvers
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2133 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 15:40:21 +00:00
rzf
0d7427ad83 added the possibility of having builtin predicates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2132 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 15:39:43 +00:00
rzf
186d4e0687 corrected bug: call_solver was not exported
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2131 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 15:38:24 +00:00
rzf
2237f94e06 removed some useless code
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2130 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 14:54:32 +00:00
rzf
04c4c58edf corrected bug in fix_evidence
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2129 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 13:03:23 +00:00
rzf
2152d90937 efficient variable elimination for lpads. Still buggy
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2128 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 11:32:26 +00:00
rzf
70749fc27f initial implementation of vel for lpads
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2127 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-06 17:30:35 +00:00