aboutsummaryrefslogtreecommitdiff
path: root/index.html
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
commitc3eed021da345ff0d55a60ce9252bc86627efad5 (patch)
tree1e53890b5f42cd7cf1daeae2c9a75b1fed284dc4 /index.html
parent437efd443b81de7dcb373913d59634aed525bf82 (diff)
downloadlanes-c3eed021da345ff0d55a60ce9252bc86627efad5.tar.gz
lanes-c3eed021da345ff0d55a60ce9252bc86627efad5.tar.bz2
lanes-c3eed021da345ff0d55a60ce9252bc86627efad5.zip
lindas can have a group for keeper state assignation control
Diffstat (limited to 'index.html')
-rw-r--r--index.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/index.html b/index.html
index 051f9d0..c6d612f 100644
--- a/index.html
+++ b/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>