diff options
| author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-04 16:19:47 +0200 |
|---|---|---|
| committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-04 16:19:47 +0200 |
| commit | c360af2df3e0904c7338cc1f32fcb270b7e34092 (patch) | |
| tree | 22b27902eff9148e787c968f5bd60ad44252c3a3 /docs/index.html | |
| parent | 4695cbe96514e6b174fb5050bb2e9a41514091f3 (diff) | |
| download | lanes-c360af2df3e0904c7338cc1f32fcb270b7e34092.tar.gz lanes-c360af2df3e0904c7338cc1f32fcb270b7e34092.tar.bz2 lanes-c360af2df3e0904c7338cc1f32fcb270b7e34092.zip | |
Refactored keeper implementation of linda:receive()
Diffstat (limited to 'docs/index.html')
| -rw-r--r-- | docs/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/index.html b/docs/index.html index 0cad4a0..1b24422 100644 --- a/docs/index.html +++ b/docs/index.html | |||
| @@ -1224,7 +1224,8 @@ | |||
| 1224 | The <tt>send()</tt> and <tt>receive()</tt> methods use Linda keys as FIFO stacks (first in, first out).<br/> | 1224 | The <tt>send()</tt> and <tt>receive()</tt> methods use Linda keys as FIFO stacks (first in, first out).<br/> |
| 1225 | By default, stack sizes are unlimited but limits can be enforced using the <tt>limit()</tt> method. This can be useful to balance execution speeds in a producer/consumer scenario. <tt>nil</tt> removes the limit.<br/> | 1225 | By default, stack sizes are unlimited but limits can be enforced using the <tt>limit()</tt> method. This can be useful to balance execution speeds in a producer/consumer scenario. <tt>nil</tt> removes the limit.<br/> |
| 1226 | A limit of 0 is allowed to block everything.<br/> | 1226 | A limit of 0 is allowed to block everything.<br/> |
| 1227 | If the key was full but the limit change added some room, <tt>limit()</tt> returns <tt>true</tt> and the linda is signalled so that <tt>send()</tt>-blocked threads are awakened. | 1227 | If the key was full but the limit change added some room, <tt>limit()</tt> returns <tt>true</tt> and the linda is signalled so that <tt>send()</tt>-blocked threads are awakened.<br/> |
| 1228 | In batched mode, <tt>linda:receive()</tt> will raise an error if <tt>min_count < 1</tt> or <tt>max_count < min_count</tt>. | ||
| 1228 | </p> | 1229 | </p> |
| 1229 | 1230 | ||
| 1230 | <p> | 1231 | <p> |
