diff options
-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 35071ae..09603b3 100644 --- a/src/lanes.lua +++ b/src/lanes.lua | |||
@@ -77,7 +77,7 @@ lanes.configure = function( settings_) | |||
77 | demote_full_userdata = nil, | 77 | demote_full_userdata = nil, |
78 | verbose_errors = false, | 78 | verbose_errors = false, |
79 | -- LuaJIT provides a thread-unsafe allocator by default, so we need to protect it when used in parallel lanes | 79 | -- LuaJIT provides a thread-unsafe allocator by default, so we need to protect it when used in parallel lanes |
80 | protect_allocator = (jit and jit.version) and true or false | 80 | protect_allocator = (package.loaded.jit and jit.version) and true or false |
81 | } | 81 | } |
82 | local boolean_param_checker = function( val_) | 82 | local boolean_param_checker = function( val_) |
83 | -- non-'boolean-false' should be 'boolean-true' or nil | 83 | -- non-'boolean-false' should be 'boolean-true' or nil |