aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2011-03-30 19:16:39 +0200
committerBenoit Germain <bnt.germain@gmail.com>2011-03-30 19:44:17 +0200
commit2d5d798c24286f10c1bffd5ea4ac466c2c3a12fa (patch)
tree17cdd59743fde2e33361509e5e5b847c0b816926 /docs
parent5499ec1a61be9797c57834618a49731952b1d212 (diff)
downloadlanes-2d5d798c24286f10c1bffd5ea4ac466c2c3a12fa.tar.gz
lanes-2d5d798c24286f10c1bffd5ea4ac466c2c3a12fa.tar.bz2
lanes-2d5d798c24286f10c1bffd5ea4ac466c2c3a12fa.zip
New features
* linda honors __tostring and __concat * new accessor linda:keys(), to retrieve the list of keys with pending data inside a linda * new lanes options packagepath and packagecpath, in case one needs to set them differently than the default
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html37
1 files changed, 34 insertions, 3 deletions
diff --git a/docs/index.html b/docs/index.html
index ba25515..7d61d96 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -263,6 +263,19 @@ also in the new lanes.
263 Implementation and dependability of priorities varies 263 Implementation and dependability of priorities varies
264 by platform. Especially Linux kernel 2.6 is not supporting priorities in user mode. 264 by platform. Especially Linux kernel 2.6 is not supporting priorities in user mode.
265 </td></tr> 265 </td></tr>
266
267 <tr valign="top">
268 <td width="40">
269 <td>
270 <code>.packagepath</code>
271 <br/><code>.packagecpath</code>
272 </td>
273 <td>
274 <code>package.path</code> and <code>package.cpath</code> overrides, if needed.
275 Specifying these when <code>libs_str</code> doesn't cause the <code>package</code> library to be loaded will generate an error.
276 <br>
277 </td>
278 </tr>
266 </table> 279 </table>
267 <p>Each lane also gets a function <tt>set_debug_threadname()</tt> that it can use anytime to do as the name says. 280 <p>Each lane also gets a function <tt>set_debug_threadname()</tt> that it can use anytime to do as the name says.
268Supported debuggers are Microsoft Visual Studio (for the C side) and Decoda (for the Lua side). 281Supported debuggers are Microsoft Visual Studio (for the C side) and Decoda (for the Lua side).
@@ -547,7 +560,18 @@ They can be used for making shared tables of storage among the lanes.
547Writing to a slot overwrites existing value, and clears any possible queued 560Writing to a slot overwrites existing value, and clears any possible queued
548entries. Table access and <tt>send</tt>/<tt>receive</tt> can be used together; 561entries. Table access and <tt>send</tt>/<tt>receive</tt> can be used together;
549reading a slot essentially peeks the next outcoming value of a queue. 562reading a slot essentially peeks the next outcoming value of a queue.
550</p> 563</p><p>
564
565 <table border="1" bgcolor="#E0E0FF" cellpadding="10">
566 <tr>
567 <td>
568 <code>[val]= linda_h:keys()</code>
569 </table>
570
571 </p>
572 <p>
573 A way to examine the slots in which a linda contains some pending data to be read.
574 </p>
551 575
552<!-- 576<!--
553<p> 577<p>
@@ -961,8 +985,15 @@ its actual value.
961 985
962<p> 986<p>
963 987
964Mar-2011 (2.1.0) 988 Mar-2011 (not yet versioned)
965<ul> 989 <ul>
990 <li>linda honors __tostring and __concat</li>
991 <li>new accessor linda:keys(), to retrieve the list of keys with pending data inside a linda</li>
992 <li>new lanes options packagepath and packagecpath, in case one needs to set them differently than the default</li>
993 </ul>
994
995 Mar-2011 (2.1.0)
996 <ul>
966 <li>fixed potential crash at application shutdown when calling lua_close() on a killed thread's VM.</li> 997 <li>fixed potential crash at application shutdown when calling lua_close() on a killed thread's VM.</li>
967 <li>exposed cancel_test() in the lanes to enable manual testing for cancellation requests.</li> 998 <li>exposed cancel_test() in the lanes to enable manual testing for cancellation requests.</li>
968 <li>removed kludgy {globals={threadName}} support, replaced with a new function set_debug_threadname().</li> 999 <li>removed kludgy {globals={threadName}} support, replaced with a new function set_debug_threadname().</li>