lua-users home
lua-l archive

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


On Thu, Jul 17, 2008 at 12:00:01AM +0300, ketmar wrote:
> On Wed, 16 Jul 2008 13:53:13 -0700
> Chip Salzenberg <chip@pobox.com> wrote:
> 
> > function, Lua is very easy to constrain in space (memory), but time
> > (execution) is beyond control in standard Lua.  The bailout flag is
> actually, one can set debug hook and then call luaL_error() inside it.
> this is what lua.c does when one hits ctrl+c.

Yow.  That's neat.

So, this is a supported behavior/usage?  Specifically, setting the debug
hook on a running state from another thread?
-- 
Chip Salzenberg <chip@pobox.com>