aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2011-04-18 08:25:23 +0200
committerBenoit Germain <bnt.germain@gmail.com>2011-04-18 08:25:23 +0200
commit05256f1e75f8583829bbaa7cdf1fb1518b93332a (patch)
treefc0d9a6855b6c05e06b06c933be8726bf546659c /docs
parent2d5d798c24286f10c1bffd5ea4ac466c2c3a12fa (diff)
downloadlanes-05256f1e75f8583829bbaa7cdf1fb1518b93332a.tar.gz
lanes-05256f1e75f8583829bbaa7cdf1fb1518b93332a.tar.bz2
lanes-05256f1e75f8583829bbaa7cdf1fb1518b93332a.zip
* linda uses a fast FIFO implementation to speed up data exchanges
* new linda:count() method * new linda batched data read mode * proper key type check in all linda methods * fix setup-vc.cmd to support Visual Studio 2010 and Windows 7 64 bits * bugfix: release keeper state mutex at desinit
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/index.html b/docs/index.html
index 7d61d96..3c4fe59 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -483,7 +483,7 @@ level locking is required; each Linda operation is atomic.
483<p>Characteristics of the Lanes implementation of Lindas are: 483<p>Characteristics of the Lanes implementation of Lindas are:
484 484
485<ul> 485<ul>
486 <li>keys can be of number, string or boolean type 486 <li>keys can be of boolean, number, string or light userdata type
487 </li> 487 </li>
488 <li>values can be any type supported by inter-state copying (same limits 488 <li>values can be any type supported by inter-state copying (same limits
489 as for function parameters and upvalues) 489 as for function parameters and upvalues)
@@ -560,17 +560,23 @@ They can be used for making shared tables of storage among the lanes.
560Writing to a slot overwrites existing value, and clears any possible queued 560Writing to a slot overwrites existing value, and clears any possible queued
561entries. 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;
562reading a slot essentially peeks the next outcoming value of a queue. 562reading a slot essentially peeks the next outcoming value of a queue.
563</p><p> 563</p>
564 <p>
564 565
565 <table border="1" bgcolor="#E0E0FF" cellpadding="10"> 566 <table border="1" bgcolor="#E0E0FF" cellpadding="10">
566 <tr> 567 <tr>
567 <td> 568 <td>
568 <code>[val]= linda_h:keys()</code> 569 <code>[val]= linda_h:count( [key[,...]])</code>
569 </table> 570 </table>
570 571
571 </p> 572 </p>
572 <p> 573 <p>
573 A way to examine the slots in which a linda contains some pending data to be read. 574 Returns some information about the contents of the linda.
575 <br/>If no key is specified, and the linda is empty, returns nothing.
576 <br/>If no key is specified, and the linda is not empty, returns a table of key/count pairs that counts the number of items in each
577 of the exiting keys of the linda. This count can be 0 if the key has been used but is empty.
578 <br/>If a single key is specified, returns the number of pending items, or nothing if the key is unknown.
579 <br/>If more than one key is specified, return a table of key/count pairs for the known keys.
574 </p> 580 </p>
575 581
576<!-- 582<!--