Hi my app (C/C++) loads & runs a LUA file… When I do that calling lua_pcall(,) the "run" action blocks the thread until the VM finishes the execution. This blocked thread represents a problem for lengthy scripts. Then, is there any way to asynchronously control a running VM ? Something like “Pause”, “Resume” “Abort”. I know I could implement this with coroutines, but that is not what I want; I’m looking a way to do this completely hidden from LUA side . If this is not available, does anyone know LJ source code to recommend where/how this could be implemented. Thanks.