[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1 / 5.2 threads
- From: Javier Guerra Giraldez <javier@...>
- Date: Wed, 27 Apr 2011 10:00:54 -0500
On Wed, Apr 27, 2011 at 9:53 AM, Anthony Howe <achowe+lua@snert.com> wrote:
> 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.".
good question; but note that also some values in Lua share a single
metatable per type. for example, all strings share the same
metatable.
--
Javier