[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: on what *L to execute a callback from c
- From: Rob Hoelz <rob@...>
- Date: Fri, 11 May 2012 04:05:29 -0400
Do you have multiple lua_States created by lua_newstate, or just
separate coroutines created by lua_newthread?
-Rob
On Fri, May 11, 2012 at 09:54:13AM +0200, Thijs Schreijer wrote:
> A lot has been written on callbacks, but couldn't find an answer to this one
> in the archives;
>
>
>
> Does it make a difference on what (valid) lua_State object I execute a
> callback? Does it change anything for the callback function being executed?
> Or is there no difference, whatever lua_State is being used (as long as it
> is valid)?
>
>
>
> Any pointers are appreciated.
>
>
>
> Thijs
>