Files
Cosmin Apreutesei 619098b71c unimportant
2015-08-25 15:16:03 +03:00

828 B

tagline
tagline
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.