[Date Prev][Date Next][Thread Prev][Thread Next]
- 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
> to your main program.
There are some caveats here. See corowatch  for a Lua example, and check its readme for the caveats