On Sat, Dec 13, 2014 at 10:00 AM, Alex <initrd.gz@xxxxxxxxx> wrote: > Wait, I misread the docs, again. misread how? AFAICT, the docs about lua_resume() state that it starts/resumes a coroutine, nothing else. the given code puts a function that calls coroutine.yield(), but it never builds a coroutine (either by coroutine.create(f) or lua_newthread()) -- Javier