Hacker News new | ask | show | jobs
by to3m 3707 days ago
If you want to actually clone the stack, you're probably stuck.

If you want to use this to do something that takes multiple invocations of lua_resume to complete without the calling Lua code being aware, you might be able to use lua_yieldk.