lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



http://kotisivu.dnainternet.net/askok/bin/lanes-150407-alpha.tgz


Lua Lanes
---------

Lanes is a lightweight, native, lazy evaluating interthread calling mechanism for Lua 5.1. 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 (if needed) a thread to get ready. Simple receive/send communications using native Lua data types (bool, number, string, table) are available between the master and the sub threads, but not between separate threads. That can be covered using
a separate communications module (s.a. DBUS).

Lua Lanes supports both Win32 and PThread threading models, allowing for usage
on at least the following platforms:

    - Mac OS X
    - Microsoft Windows
    - Linux
    - BSD (not tested)