[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_close() locks but never unlocks... ?
- From: Ben Sunshine-Hill <sneftel@...>
- Date: Thu, 2 Feb 2006 18:13:01 -0800
On 2/2/06, Rici Lake <lua@ricilake.net> wrote:
>
> On 2-Feb-06, at 8:34 PM, Ben Sunshine-Hill wrote:
>
> > On 2/2/06, Chris <coderight@gmail.com> wrote:
> >> Yes, I think that answers my question. You simply can not access a
> >> Lua
> >> state from another thread, even with the internal locking enabled.
> >
> > Again: Yes you can (well, through registere C functions). You just
> > need to correctly define your locking mechanism.
> >
>
> How? You can access the same C structure from two different Lua states.
> But how can you access a Lua state itself while it is actively running
> a script?
My assumption was that the other lua state was not actively running a script.
- References:
- lua_close() locks but never unlocks... ?, Chris
- Re: lua_close() locks but never unlocks... ?, Chris
- Re: lua_close() locks but never unlocks... ?, Luiz Henrique de Figueiredo
- Re: lua_close() locks but never unlocks... ?, Chris
- Re: lua_close() locks but never unlocks... ?, Ben Sunshine-Hill
- Re: lua_close() locks but never unlocks... ?, Chris
- Re: lua_close() locks but never unlocks... ?, Rici Lake
- Re: lua_close() locks but never unlocks... ?, Chris
- Re: lua_close() locks but never unlocks... ?, Ben Sunshine-Hill
- Re: lua_close() locks but never unlocks... ?, Rici Lake