|
> Can I treat my main lua_state as a coroutine by using lua_resume and > lua_yield? [...] Is this going to bite me later on? I would say that you can, but that this is not the "polite" way to use coroutines. What's wrong with creating a single extra thread? -- Roberto