Re: ltask - A multi tasking library for lua
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: ltask - A multi tasking library for lua
- From: "Victor Bombi" <sonoro@...>
- Date: 2015年4月30日 09:48:06 +0200
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