Am 27.08.11 11:29, schrieb steve donovan:
On Sat, Aug 27, 2011 at 11:22 AM, Marc Balmer<marc@msys.ch> wrote:
How difficult would it be to make Lua true multithreaded? I know that
is against the intentions of the inventors, but have experiments been
done in this direction?
There is Diego Nehab's LuaThread:
http://lua-users.org/lists/lua-l/2008-07/msg00056.html
Remember that it enforces a global interpreter lock and so the
performance will reflect that.
Thank you! As you may know I am working with Lua in the NetBSD kernel,
which is a heavily threaded environment and I need mutexes anyway to
make it mp safe...
Not beeing able to run multiple threads is seen as a disadvantage,
there, but thats a different story ;)