diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2012-02-18 14:08:52 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2012-02-18 14:08:52 +0100 |
commit | 076344633e7b2525cf48005f84f3935f324b60bf (patch) | |
tree | 2a013da0ba2cd4a9f7eaf073a5ba128723f13154 /tests/fibonacci.lua | |
parent | b4582dd0bb65a916de7fa9612880b75a17c7ae7f (diff) | |
download | lanes-076344633e7b2525cf48005f84f3935f324b60bf.tar.gz lanes-076344633e7b2525cf48005f84f3935f324b60bf.tar.bz2 lanes-076344633e7b2525cf48005f84f3935f324b60bf.zip |
* changed lanes.configure signature to receive a table instead of individual parameters
* added support for an on_state_create callback called to load custom functions in a state in addition to the base libraries
Diffstat (limited to 'tests/fibonacci.lua')
-rw-r--r-- | tests/fibonacci.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fibonacci.lua b/tests/fibonacci.lua index 2e0cd62..55dede1 100644 --- a/tests/fibonacci.lua +++ b/tests/fibonacci.lua | |||
@@ -13,7 +13,7 @@ | |||
13 | -- Need to say it's 'local' so it can be an upvalue | 13 | -- Need to say it's 'local' so it can be an upvalue |
14 | -- | 14 | -- |
15 | local lanes = require "lanes" | 15 | local lanes = require "lanes" |
16 | lanes.configure( 1, "NO_TIMERS") | 16 | lanes.configure{ nb_keepers =1, with_timers = false} |
17 | 17 | ||
18 | local function WR(str) | 18 | local function WR(str) |
19 | io.stderr:write( str.."\n" ) | 19 | io.stderr:write( str.."\n" ) |