lua-users home
lua-l archive

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


A minor correction:

On 18.06.20 11:34, Oliver wrote:
> mtstates.newstate() gives a state referencing object that owns the mtstate
> object. Another system thread or mtstate object (more precisley: Lua main state)
> can only access this mtstate object by using mtstates.state() using the state's
> name or id.

This should better be:

mtstates.newstate() gives a state referencing object that owns the mtstate
object. Another system thread or mtstate object (more precisley: Lua main state)
should only access this mtstate object by using mtstates.state() using the
state's name or id.

(however it would be possible to get an owning reference to this state by
invoking mtstates.singleton() with the state's name).

Best regards,
Oliver