[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1 / 5.2 threads
- From: Drake Wilson <drake@...>
- Date: Wed, 27 Apr 2011 16:42:51 -0700
Quoth Anthony Howe <achowe+lua@snert.com>, on 2011-04-27 17:28:52 +0200:
> So if I change the metatable of a master state then all future
> lua_State, master or thread, will share the same metatable?
Not the former, unless I'm horribly mistaken. An independently-opened
lua_State is (in) its own universe; setting metatables in one universe
never affects another universe.
---> Drake Wilson