lua-users home
lua-l archive

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


I am a little confused. I thought coroutines were going to be part of the
4.1 release? If not, I'll give the CORO library a shot, and see what I can
get it to do.

Has anyone had any luck running it on Windows either under Cygwin or MSVC++?

Eric

> -----Original Message-----
> From: owner-lua-l@tecgraf.puc-rio.br
> [mailto:owner-lua-l@tecgraf.puc-rio.br]On Behalf Of Luiz Henrique de
> Figueiredo
> Sent: Wednesday, May 09, 2001 12:35 PM
> To: Multiple recipients of list
> Subject: Re: snapshot of Lua 4.1 (work)
>
>
> >Aha, so a coroutine would be a lua_newthread call, tied to some C glue
> >code as closure, and returned to the original context as callable
> >userdata.  Very nice.
>
> Possibily, but there might be other solutions.
> We think that coroutines in Lua should be provided by a Lua *library*.
>
> >Is anyone doing this, or are you looking for a volunteer?
>
> We, the Lua team, are not doing this right now, but we may do
> until 4.1 is out.
>
> For the time being, perhaps the easiest thing would be to use
> Edgar Toernig's
> coroutine library as a test. It would be great if someone out
> there did this.
> See "coro" at http://lecker.essen.de/~froese/ .
> --lhf