将package.path变量传递给lua lanes

时间:2013-10-20 14:41:07

标签: lua lua-lanes

我想将package.path传递给lua lanes

Code Snippet below :-

package.path = package.path..";..\\Test\\?.lua"

local function lane1()
    ..
end


Thread1= lanes.gen("*",{globals = _G},lane1)

T1 = Thread1()
T2 = Thread2()

T1:join()

通过package.path中的参数传递lanes.gen是否可以成为lane1的一部分?

0 个答案:

没有答案