lights FAQ Forum   github.com/luapower/lanes
lanes

Multi-threading
lanes
luastate
pthread
thread
lfrb

lanes

threads support


NOTE: This is just a distribution of Lanes. Lanes is developed here.

local lanes = require'lanes'

Documentation

There's up-to-date Lanes documentation here. Ignore the old site.

LuaJIT notes

To use ffi inside lanes you have to require the ffi module inside the lane, since the ffi module cannot be transferred as an upvalue to your lane (you will get an error about "destination transfer database"). This also means that other modules that depend on ffi cannot be upvalues and must be required explicitly inside the lane or luajit will crash.


Last updated: 2 years ago | Edit on GitHub

Pkg type:Lua/C
Version: r4-11-g6c967c1
Last commit:
License: MIT
Import: LuaLanes
Import ver: 3.9.3
Requires: +luajit 
Required by: none

Top