[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua registry, environment, and threads.
- From: Jerome Vuarand <jerome.vuarand@...>
- Date: Wed, 6 Jan 2010 18:05:53 +0100
2010/1/6 Roberto Ierusalimschy <roberto@inf.puc-rio.br>:
>> Does that mean in 5.2, I can't have any per-thread data? It has to
>> be global to a Lua state or private to a function?
>
> Note that in 5.1 the built-in per-thread data is not very useful, as you
> cannot access it from Lua. (That is the main reason why we are removing
> it).
Isn't debug.getfenv on a thread object returning it ?
- References:
- Lua registry, environment, and threads., Christian Tellefsen
- Re: Lua registry, environment, and threads., Patrick Donnelly
- Re: Lua registry, environment, and threads., Roberto Ierusalimschy
- Re: Lua registry, environment, and threads., Christian Tellefsen
- Re: Lua registry, environment, and threads., Roberto Ierusalimschy