[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Running lua code as as a single coroutine without creating lua thread
- From: Sam Roberts <vieuxtech@...>
- Date: Wed, 1 Feb 2012 22:27:19 -0800
On Wed, Feb 1, 2012 at 12:04 PM, Dmitry Marakasov <email@example.com> wrote:
> I'm confused about whether I can
> call lua_resume on a lua_State returned by lua_open, not lua_newthread,
> cause lua_resume documentation says "To start a coroutine, you first
> create a new thread".
I think its OK, but search the list archives for lua_resume, its been
discussed before, and I think both Roberto and Mike Pall responded.