aboutsummaryrefslogtreecommitdiff
path: root/src/lanes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lanes.lua')
-rw-r--r--src/lanes.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lanes.lua b/src/lanes.lua
index bd66e6c..8cd3737 100644
--- a/src/lanes.lua
+++ b/src/lanes.lua
@@ -55,10 +55,10 @@ if _params.on_state_create and (type( _params.on_state_create) ~= "function") th
55 error( "Bad on_state_create: " .. tostring( _params.on_state_create), 2) 55 error( "Bad on_state_create: " .. tostring( _params.on_state_create), 2)
56end 56end
57 57
58local mm = require "lua51-lanes" 58local mm = require "lanes.core"
59assert( type(mm)=="table" ) 59assert( type(mm)=="table" )
60 60
61-- configure() is available only the first time lua51-lanes is required process-wide, and we *must* call it to have the other functions in the interface 61-- configure() is available only the first time lanes.core is required process-wide, and we *must* call it to have the other functions in the interface
62if mm.configure then mm.configure( _params.nb_keepers, _params.on_state_create) end 62if mm.configure then mm.configure( _params.nb_keepers, _params.on_state_create) end
63 63
64local thread_new = assert(mm.thread_new) 64local thread_new = assert(mm.thread_new)