lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo a écrit :
For Lua functions, you can set a count hook and call error for there.
For C functions, you need a real timer. Even then, you need to be careful
how you interrupt Lua. See how lua.c does it or my lalarm. --lhf

Somebody should put this in the Programmer's Faq...
http://lua-users.org/wiki/LuaFaq

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --