aboutsummaryrefslogtreecommitdiff
path: root/src/lanes.lua
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2011-02-21 20:33:39 +0100
committerBenoit Germain <bnt.germain@gmail.com>2011-02-21 20:33:39 +0100
commit974aa4343cf900938b5d357d10798d91faf60f5a (patch)
treeb71a342e26ce04c447955f2fc135b69760ab7837 /src/lanes.lua
parent1760eafa1d2ebce8f07e11414a53d4a251af5b8e (diff)
downloadlanes-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.lua2
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
53local now_secs= assert( mm.now_secs ) 53local now_secs= assert( mm.now_secs )
54local wakeup_conv= assert( mm.wakeup_conv ) 54local wakeup_conv= assert( mm.wakeup_conv )
55local timer_gateway= assert( mm.timer_gateway )
56 55
57local max_prio= assert( mm.max_prio ) 56local max_prio= assert( mm.max_prio )
58 57
@@ -239,6 +238,7 @@ linda = mm.linda
239 238
240---=== Timers ===--- 239---=== Timers ===---
241 240
241local 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