lua-users home
lua-l archive

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


Hi,

I could see some funny stuff happening if 2 functions
start messing with the stack at the same time. Do we need to grab a
mutex before we do this? How is the Lua stack protected?

Access to the Lua state is automatically protected by a mutex. (this is
why LuaThreads needs Lua to be recompiled).

[]s,
Diego.