Thiago Padilha wrote: > Since luajit already implements true C coroutines across different > platforms to enable yields across C calls, is it possible to reuse > it's coroutine infrastructure for managing pure C coroutines(and avoid > having to depend on another coroutine library)? LuaJIT 2.x does NOT use true C coroutines. It's a resumable VM, which has no need to switch C stacks. So, the basic answer is no. --Mike