[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua 5.1 / 5.2 threads
- From: Anthony Howe <achowe+lua@...>
- Date: Wed, 27 Apr 2011 16:53:09 +0200
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/