aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBenoit Germain <bnt period germain arrobase gmail period com>2014-02-17 14:28:11 +0100
committerBenoit Germain <bnt period germain arrobase gmail period com>2014-02-17 14:28:11 +0100
commit5f092fe0ec8b6942c63262e7c14c7e4ba913b023 (patch)
treeba09d35bba020711d94d2c0d3fb80b0145b4d01d /docs
parent47eb3f94373a13ac9f204ca65dfde602f53bdc1a (diff)
downloadlanes-5f092fe0ec8b6942c63262e7c14c7e4ba913b023.tar.gz
lanes-5f092fe0ec8b6942c63262e7c14c7e4ba913b023.tar.bz2
lanes-5f092fe0ec8b6942c63262e7c14c7e4ba913b023.zip
lindas can have a group for keeper state assignation control
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/index.html b/docs/index.html
index 051f9d0..c6d612f 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -70,7 +70,7 @@
70 </p> 70 </p>
71 71
72 <p> 72 <p>
73 This document was revised on 17-Feb-14, and applies to version <tt>3.9.0</tt>. 73 This document was revised on 17-Feb-14, and applies to version <tt>3.9.1</tt>.
74 </p> 74 </p>
75 </font> 75 </font>
76 </center> 76 </center>
@@ -1029,11 +1029,12 @@
1029 <li><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></li> 1029 <li><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></li>
1030 <li>individual keys' queue length can be limited, balancing speed differences in a producer/consumer scenario (making <tt>:send</tt> wait).</li> 1030 <li>individual keys' queue length can be limited, balancing speed differences in a producer/consumer scenario (making <tt>:send</tt> wait).</li>
1031 <li><tt>tostring( linda)</tt> returns a string of the form <tt>"Linda: &lt;opt_name&gt;"</tt></li> 1031 <li><tt>tostring( linda)</tt> returns a string of the form <tt>"Linda: &lt;opt_name&gt;"</tt></li>
1032 <li>several lindas may share the same keeper state. Since version 3.9.1, state assignation can be controlled with the linda's group (an integer). All lindas belonging to the same group will share the same keeper state. One keeper state may be shared by several groups.</li>
1032 </ul> 1033 </ul>
1033</p> 1034</p>
1034 1035
1035<table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"><tr><td><pre> 1036<table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"><tr><td><pre>
1036 h = lanes.linda( [opt_name]) 1037 h = lanes.linda( [opt_name, [opt_group]])
1037 1038
1038 [true|lanes.cancel_error] = h:send( [timeout_secs,] key, ...) 1039 [true|lanes.cancel_error] = h:send( [timeout_secs,] key, ...)
1039 1040
@@ -1171,7 +1172,7 @@
1171 <br/> 1172 <br/>
1172 If the thread is woken but the condition is not yet fulfilled, it goes back to sleep, until the timeout expires. 1173 If the thread is woken but the condition is not yet fulfilled, it goes back to sleep, until the timeout expires.
1173 <br/> 1174 <br/>
1174 When a lane is cancelled, the signal it is waiting on (if any) is signalled. In that case, the linda operation will return no data. 1175 When a lane is cancelled, the signal it is waiting on (if any) is signalled. In that case, the linda operation will return <tt>lanes.cancel_error</tt>.
1175</p> 1176</p>
1176 1177
1177<p> 1178<p>