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 | 2f1efc2d1f63adbd8099991ff9b0f0e35b52a26f (patch) | |
tree | 7e4df947ede97e509b33a68124c0319b304c8d1c /docs | |
parent | ad54bd374ff86f2d523167fadfb07d36e223e966 (diff) | |
download | lanes-2f1efc2d1f63adbd8099991ff9b0f0e35b52a26f.tar.gz lanes-2f1efc2d1f63adbd8099991ff9b0f0e35b52a26f.tar.bz2 lanes-2f1efc2d1f63adbd8099991ff9b0f0e35b52a26f.zip |
* linda:receive() batched mode now accepts a max_count optional argument
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/index.html b/docs/index.html index 1aeffe9..1ae1855 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -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> |