[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: R: Using Lua with and without SO
- From: Thijs Schreijer <thijs@...>
- Date: Fri, 1 Nov 2013 19:21:12 +0000
> 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