[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 'gc' tag method
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 21 Mar 2002 17:47:18 -0300
> Any plans to introduce an optional cycle limiter, to guard against infinite
> loops and things like that? Such that I can say: lua_setcycles(50);
> lua_dostring(...); and at 50 cycles in, it will yield back to the function
> that called it with a LUA_YIELD return code, at which point I can call
> lua_continue() or do something else...
Hopefuly, you will be able to do that using the line hook.
-- Roberto