From 14acdd61de1e3679cb731713c6e5aba274fa8869 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Sun, 24 Jun 2012 15:12:32 +0200 Subject: fix issue #25 * lanes.timer() accepts a first_secs=nil to stop a timer * timer lane catches errors and prints them * fixed some typos in manual --- docs/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index 1ae1855..52ba852 100644 --- a/docs/index.html +++ b/docs/index.html @@ -56,7 +56,7 @@


Copyright © 2007-12 Asko Kauppi, Benoit Germain. All rights reserved.
Lua Lanes is published under the same MIT license as Lua 5.1. -

This document was revised on 17-Feb-11, and applies to version 3.1.3 +

This document was revised on 23-Jun-12, and applies to version 3.1.4

@@ -509,7 +509,7 @@ It is also possible to manually test for cancel requests with cancel_test()<
set_finalizer( finalizer_func )

- void= finalizer_func( [error] ) + void= finalizer_func( [err, stack_tbl] )

The error call is used for throwing exceptions in Lua. What Lua @@ -734,7 +734,7 @@ events to a common Linda, but... :).

- Timers are implemented as a lane. They can be disabled by passing "NO_TIMERS" + Timers are implemented as a lane. They can be disabled by setting "with_timers" to nil or false to lanes.configure().

@@ -748,7 +748,7 @@ Once a timer expires, the key is set with the current time The key can be waited upon using the regular Linda :receive() method.

-A timer can be stopped simply by first_secs=0 and no period. +A timer can be stopped simply with first_secs=0|nil and no period.

-- cgit v1.2.3-55-g6feb