[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: R: R: Using Lua with and without SO
- From: "Bob Schiavo" <rs.robertoschiavo@...>
- Date: Mon, 25 Nov 2013 10:47:21 +0100
Dear Thijs
After some test, thanks to your hints, I've got what I was trying to do. Great!!
Thank you very much
Bob
-----Messaggio originale-----
Da: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] Per conto di Thijs Schreijer
Inviato: venerdì 1 novembre 2013 20:21
A: Lua mailing list
Oggetto: RE: R: Using Lua with and without SO
> If so, I think it is possible. You may try this:
> Install a LUA_HOOKCOUNT hook into the Lua VM, which would be called
> after the VM had executed LIMIT instructions.
> If the LIMIT is reached, you may throw an error and the control would
> return to your main program.
There are some caveats here. See corowatch [1] for a Lua example, and check its readme for the caveats
Thijs
[1] https://github.com/Tieske/corowatch
---
Questa e-mail è priva di virus e malware perché è attiva la protezione avast! Antivirus.
http://www.avast.com