[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why one would need mtstates/mtmsg?
- From: Oliver <oschmidt-mailinglists@...>
- Date: Thu, 18 Jun 2020 12:00:01 +0200
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