lua-users home
lua-l archive

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


I am a LuaLanes fanatic.
Did you know? : https://github.com/LuaLanes/lanes

----- Original Message ----- From: "??" <cloudwu@gmail.com>
To: "Lua mailing list" <lua-l@lists.lua.org>
Sent: Wednesday, April 29, 2015 10:46 AM
Subject: ltask - A multi tasking library for lua


I wrote a new multi tasking library for lua these days, it still work
in process, but I'm pleased to announce here to get more feedback :)

https://github.com/cloudwu/ltask

The core of the library is a m:n schedule , it maps m task (one lua
state per task) to n os thread. (In windows, it uses windows native
threading api, otherwise it uses pthead)

No data can be shared among lua states , the only way for cooperative
is the build-in channels .

ltask has no facility like timer, blocked I/O, etc. but I think it's
easy to use other library (like levent
https://github.com/xjdrew/levent)
on it.

--
http://blog.codingnow.com