lua-users home
lua-l archive

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


Hello, gary.

gn> If they are relatively independent and the number of
gn> cocurrent event is small, I would say LuaThread as
gn> that is easier to code.

gn> --- Pete Kay <petedao@gmail.com> wrote:

Yes, LuaThread is easier to code, but I recommend you to use
LuaLanes. LuaThread depends on lock\unlock mechanism in lua core,
which is very uneffective in real multithreading. Lanes runs
independend threads with asynchronous communications.
--