lua-users home
lua-l archive

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

>> Seems conflicting to me, as the newthread only creates a thread, but still
>> returns a lua_State. Is then the lua_State description outdated?
> lua_State points to threads and threads point to the global state, so
> a lua_State indirectly points to the global state. We will try to
> clarify that in the manual.

> -- Roberto

Isn't that an implementation detail and irrelevant seeing as a
lua_State is a nice opaque data structure?