[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: green-threads in lua
- From: Ivan Gagis <igagis@...>
- Date: Sun, 31 Aug 2008 01:23:56 +0400
On Sunday 31 August 2008 01:19:13 Ivan Gagis wrote:
> Hi Lua-list,
> On Thursday 31 July 2008 20:42:32 Asko Kauppi wrote:
> > When/if the green threads becomes a true possibility in Lua, would it
> > mean that the code run within them is not allowed to touch the
> > 'coroutine.*' features itself?
> Looks like coroutines would work normally along with green threads. Have not tried this yet but I don't see any reasons why they would not work.
Oh, sorry... Just had a quick thought that coroutines will NOT work with green threads. Because there will be calls to lua_resume from within the lua C function.