diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2012-06-12 07:47:33 +0200 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2012-06-12 07:47:33 +0200 |
commit | 6cfbf9cc6ccddc4aefbe4c5f92d221dcab14470c (patch) | |
tree | 6b84b8f87a6cf16a3785828169ccca03f800a98d | |
parent | c8e51e24c867f2568fb4dba0f95fb4ab336ed72e (diff) | |
download | lanes-6cfbf9cc6ccddc4aefbe4c5f92d221dcab14470c.tar.gz lanes-6cfbf9cc6ccddc4aefbe4c5f92d221dcab14470c.tar.bz2 lanes-6cfbf9cc6ccddc4aefbe4c5f92d221dcab14470c.zip |
* linda:receive() batched mode now accepts a max_count optional argument
-rw-r--r-- | index.html | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -56,7 +56,7 @@ | |||
56 | 56 | ||
57 | <p><br/><font size="-1"><i>Copyright © 2007-12 Asko Kauppi, Benoit Germain. All rights reserved.</i> | 57 | <p><br/><font size="-1"><i>Copyright © 2007-12 Asko Kauppi, Benoit Germain. All rights reserved.</i> |
58 | <br>Lua Lanes is published under the same <A HREF="http://en.wikipedia.org/wiki/MIT_License">MIT license</A> as Lua 5.1. | 58 | <br>Lua Lanes is published under the same <A HREF="http://en.wikipedia.org/wiki/MIT_License">MIT license</A> as Lua 5.1. |
59 | </p><p>This document was revised on 17-Feb-11, and applies to version 3.1.2 | 59 | </p><p>This document was revised on 17-Feb-11, and applies to version 3.1.3 |
60 | </font></p> | 60 | </font></p> |
61 | 61 | ||
62 | </center> | 62 | </center> |
@@ -588,6 +588,9 @@ level locking is required; each Linda operation is atomic. | |||
588 | </li> | 588 | </li> |
589 | <li><tt>receive</tt> can wait for multiple keys at once | 589 | <li><tt>receive</tt> can wait for multiple keys at once |
590 | </li> | 590 | </li> |
591 | <li> | ||
592 | <tt>receive</tt> has a batched mode to consume more than one value from a single key, as in <tt>linda:receive( 1.0, linda.batched, "key", 3, 6)</tt> | ||
593 | </li> | ||
591 | <li>individual keys' queue length can be limited, balancing speed differences | 594 | <li>individual keys' queue length can be limited, balancing speed differences |
592 | in a producer/consumer scenario (making <tt>:send</tt> wait) | 595 | in a producer/consumer scenario (making <tt>:send</tt> wait) |
593 | </li> | 596 | </li> |