|
I'm having difficulty using LuaLanes (v.3.1.0 tag) with LuaJIT 2.0.0-beta9 on an ARM platform. LuaJIT runs fine but if I have a simple program that does the following:
local lanes = require "lanes" I get the following error:
This seems like it may be related to the issue reported here: http://lua-users.org/lists/lua-l/2011-11/msg00554.html I know LuaJIT has a couple of "builtin" modules, notably the 'ffi' module for foreign function interface support. I assume this is being loaded by the LuaJIT VM before the above code has a chance to execute. Reading later postings it seems that some people have been able to use LuaLanes with LuaJIT2. Can anyone verify that LuaLanes indeed works with LuaJIT2? Can someone explain to me why I'm getting the above error and if there is any work-around that I can apply? If there isn't a work-around, are there any Lua threading libraries that are known to work with LuaJIT? Thanks . . . |