[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Announcement of Lua Power Patch: Interpreter Bailout Flag
- From: Chip Salzenberg <chip@...>
- Date: Wed, 16 Jul 2008 14:04:51 -0700
On Thu, Jul 17, 2008 at 12:00:01AM +0300, ketmar wrote:
> On Wed, 16 Jul 2008 13:53:13 -0700
> Chip Salzenberg <firstname.lastname@example.org> 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 <email@example.com>