From 2f1efc2d1f63adbd8099991ff9b0f0e35b52a26f Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 12 Jun 2012 07:47:33 +0200 Subject: * linda:receive() batched mode now accepts a max_count optional argument --- docs/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') 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 @@


Copyright © 2007-12 Asko Kauppi, Benoit Germain. All rights reserved.
Lua Lanes is published under the same MIT license as Lua 5.1. -

This document was revised on 17-Feb-11, and applies to version 3.1.2 +

This document was revised on 17-Feb-11, and applies to version 3.1.3

@@ -588,6 +588,9 @@ level locking is required; each Linda operation is atomic.
  • receive can wait for multiple keys at once
  • +
  • + receive has a batched mode to consume more than one value from a single key, as in linda:receive( 1.0, linda.batched, "key", 3, 6) +
  • individual keys' queue length can be limited, balancing speed differences in a producer/consumer scenario (making :send wait)
  • -- cgit v1.2.3-55-g6feb