lua-users home
lua-l archive

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

> Does Lua 5.1 support having a different string metatable per state? or 
> is the string metatable shared across all states? And does Lua 5.2 
> support it?

In all versions of Lua that support multiple states, they are completely
separate. Nothing in one state affects the other.

Or do you mean Lua threads, instead of states? In that case, everything
is shared, except the call stack.