lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Andrew Teirney wrote:
>  i just want to be able to load and execute a chunk with an infinite
> service loop, then jumping out of the lua land every ms or so that i
> can service some devices, and then go back to lua from where it left off.

You can set up a line or count hook. See lua_sethook and sethook.
--lhf