[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re[2]: Question about multi-threading in Lua
- From: Alexey Malyshev <malma@...>
- Date: Fri, 16 May 2008 13:51:00 +0400
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.
--