[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_newthread: is this essentially creating a coroutine?
- From: Edwin Eyan Moragas <haaktu@...>
- Date: Fri, 16 Sep 2005 12:30:08 +0800
On 9/16/05, David Morris-Oliveros <email@example.com> wrote:
> Yes, lua_newthread creates a coroutine with a new (sub) lua_State. You
> then start it with lua_resume(). It won't block other coroutines, since
> you have to timeslice them anyway manually.
> Does this make sense?
yes. thank you very much. just need to confirm that. :-)