copy suspended coroutine

  • From: Daniel Ritchie <dritchie@xxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Thu, 06 Nov 2014 12:10:36 -0800

Greetings,

I recently found an old post Mike made on the Lua users list that describes how to copy a suspended coroutine:

http://lua-users.org/lists/lua-l/2006-01/msg00652.html

I'd like to implement a similar a feature in LuaJIT, and I'm wondering how possible that is / how much the solution would resemble the code from the link above. I won't be yielding from inside of any C/ffi functions, just pure Lua (seems like it might be relevant).

Thanks,
-- D


Other related posts: