lua-users home
lua-l archive

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


On Wed, Feb 1, 2012 at 12:04 PM, Dmitry Marakasov <amdmi3@amdmi3.ru> 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.

Cheers,
Sam