aboutsummaryrefslogtreecommitdiff
path: root/tests/ehynes.lua
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2012-09-26 21:22:30 +0200
committerBenoit Germain <bnt.germain@gmail.com>2012-09-26 21:22:30 +0200
commitbba4ecea15320dfbf8edf35f7361de374d895ace (patch)
tree73bd0bfd29d2c4dbfe3a46681b0e3b2261352207 /tests/ehynes.lua
parent282f59ca02d1d1f304b9126b84a8b1427caf3172 (diff)
downloadlanes-bba4ecea15320dfbf8edf35f7361de374d895ace.tar.gz
lanes-bba4ecea15320dfbf8edf35f7361de374d895ace.tar.bz2
lanes-bba4ecea15320dfbf8edf35f7361de374d895ace.zip
version 3.4.0
* new method linda:dump() that outputs the full contents of a linda as a table, also linked to __towatch for Decoda support * linda:receive() API change! * instead of [val, key], linda:receive( timeout, key) returns [key, val] * instead of [val, [...]], linda:receive( timeout, linda.batched key) returns [key, val[, ...]] this is to unify the return values of regular and batched mode, and to be able to tell when batched mode is interrupted by a lane cancellation * fixed Lua 5.2 build to take into account the "loaders"->"searchers" name change in 'package' module. * a bit of html cleanup and added some infos in the documentation regarding the Lanes internals
Diffstat (limited to 'tests/ehynes.lua')
-rw-r--r--tests/ehynes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ehynes.lua b/tests/ehynes.lua
index fff008c..7609ddd 100644
--- a/tests/ehynes.lua
+++ b/tests/ehynes.lua
@@ -17,7 +17,7 @@ local receiver_gen = lanes.gen( 'base', 'os', 'string', 'io',
17 PRINT_FMT( 'receiver for message %s entered', message_name ) 17 PRINT_FMT( 'receiver for message %s entered', message_name )
18 local n = 1 18 local n = 1
19 while linda:receive(message_name) do 19 while linda:receive(message_name) do
20 PRINT_FMT( '%s %d receieved', message_name, n ) 20 PRINT_FMT( '%s %d received', message_name, n )
21 n = n + 1 21 n = n + 1
22 end 22 end
23 end 23 end