diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2011-02-21 20:33:39 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2011-02-21 20:33:39 +0100 |
commit | 974aa4343cf900938b5d357d10798d91faf60f5a (patch) | |
tree | b71a342e26ce04c447955f2fc135b69760ab7837 /src/lanes.lua | |
parent | 1760eafa1d2ebce8f07e11414a53d4a251af5b8e (diff) | |
download | lanes-974aa4343cf900938b5d357d10798d91faf60f5a.tar.gz lanes-974aa4343cf900938b5d357d10798d91faf60f5a.tar.bz2 lanes-974aa4343cf900938b5d357d10798d91faf60f5a.zip |
Make the number of internal keeper states selectable by an optional parameter passed to require.
Diffstat (limited to '')
-rw-r--r-- | src/lanes.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lanes.lua b/src/lanes.lua index 95bdeeb..78582f9 100644 --- a/src/lanes.lua +++ b/src/lanes.lua | |||
@@ -52,7 +52,6 @@ local _version= assert(mm._version) | |||
52 | 52 | ||
53 | local now_secs= assert( mm.now_secs ) | 53 | local now_secs= assert( mm.now_secs ) |
54 | local wakeup_conv= assert( mm.wakeup_conv ) | 54 | local wakeup_conv= assert( mm.wakeup_conv ) |
55 | local timer_gateway= assert( mm.timer_gateway ) | ||
56 | 55 | ||
57 | local max_prio= assert( mm.max_prio ) | 56 | local max_prio= assert( mm.max_prio ) |
58 | 57 | ||
@@ -239,6 +238,7 @@ linda = mm.linda | |||
239 | 238 | ||
240 | ---=== Timers ===--- | 239 | ---=== Timers ===--- |
241 | 240 | ||
241 | local timer_gateway= assert( mm.timer_gateway ) | ||
242 | -- | 242 | -- |
243 | -- On first 'require "lanes"', a timer lane is spawned that will maintain | 243 | -- On first 'require "lanes"', a timer lane is spawned that will maintain |
244 | -- timer tables and sleep in between the timer events. All interaction with | 244 | -- timer tables and sleep in between the timer events. All interaction with |