lua-users home
lua-l archive

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


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.

--
Ivan