At 20:54 02/10/2006 -0400, Bob Rogers wrote:
   This weekend's project (committed as r14830) makes continuations
capture the dynamic environment so that they can restore it properly on
invocation.  This makes it possible for multiple continuations to
coexist that return to different environments in the same context.

   One word of caution, though:  I had also wanted to move the
control_stack slot from the context to the interpreter, but found that
doing so breaks coroutines rather severely (see transcript below, using
slightly hacked signalling code).  So this logical next step is on hold
for now.  However, I strongly suspect that coroutines are still broken
in ways that are not detected by the test suite -- therefore, please let
me know if your favorite app develops a coroutine allergy.

I've tried without success to implement coroutine in language Lua.
See files :
        languages/lua/pmc/luathread.pmc
        languages/lua/lib/luacoroutine.pir
        languages/lua/t/coroutine.t

Help is welcome.

François.

                                        -- Bob Rogers
                                           http://rgrjr.dyndns.org/


Reply via email to