lua-users home
lua-l archive

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


In Lua 5.1 a thread has an environment and section 2.8 starts with
"Every value in Lua can have a metatable." So a thread can also have a
metatable in addition to an environment?

In Lu 5.2 section 8.1 "Threads do not have individual environments. All
threads share a single fixed environment."  Can a thread still have a
metatable though?  Section 2.4 claims "Every value in Lua can have a
metatable.".

-- 
Anthony C Howe            Skype: SirWumpus                  SnertSoft
                        Twitter: SirWumpus      BarricadeMX & Milters
http://snert.com/      http://nanozen.info/     http://snertsoft.com/