From bba4ecea15320dfbf8edf35f7361de374d895ace Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Wed, 26 Sep 2012 21:22:30 +0200 Subject: 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 --- tests/ehynes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ehynes.lua') 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', PRINT_FMT( 'receiver for message %s entered', message_name ) local n = 1 while linda:receive(message_name) do - PRINT_FMT( '%s %d receieved', message_name, n ) + PRINT_FMT( '%s %d received', message_name, n ) n = n + 1 end end -- cgit v1.2.3-55-g6feb