lua-users home
lua-l archive

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


Hallo,

On Sun, Aug 24, 2014 at 10:02 PM, Thijs Schreijer
<thijs@thijsschreijer.nl> wrote:
> As "lua_State" not actually refers to a state, but to a thread or an execution stack, could it be renamed? To something that properly reflects what it is?
>

Hmm, no.

"An opaque structure that points to a thread and indirectly (through
the thread) to the whole state of a Lua interpreter. The Lua library
is fully reentrant: it has no global variables. All information about
a state is accessible through this structure. "

Cheers,
-- 
-alex
http://unendli.ch/