forked from LuaLanes/lanes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathABOUT
More file actions
19 lines (14 loc) · 859 Bytes
/
ABOUT
File metadata and controls
19 lines (14 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Lua Lanes
---------
Lanes is a lightweight, native, lazy evaluating multithreading library for
Lua 5.1 to Lua 5.4. It allows efficient use of multicore processors in Lua, by passing
function calls into separate OS threads, and separate Lua states.
No locking of the threads is needed, only launching and waiting for (with an
optional timeout) a thread to get ready. Efficient communications between the
running threads are possible either using message passing or shared state
models. Values passed can be anything but coroutines (see detailed limitations
in the manual).
Lua Lanes has been optimized for performance, and provides around 50-60%
speed increase when running heavily threaded applications on dual core
processors (compared to running a non-threaded plain Lua implementation).
Starting with version 3.0, Lanes is compatible with LuaJIT 2.