Re: Lua registry, environment, and threads.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lua registry, environment, and threads.
- From: David Burgess <dabsoft@...>
- Date: 2010年1月07日 09:59:45 +1100
This, I think will break a *lot* of my code. Whilst I will be able to
work around most the problems it creates, it will make my existing C
code slower and bigger. Documentation changes for my app will be
significant. I would have thought the proposed change would be
reserved for a major version change e.h. Lua 6
David B
Roberto Ierusalimschy wrote:
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).
In C, it is not difficult to use the thread itself as a key to store
per-thread data in the registry, if necessary.
-- Roberto
- 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