[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Hooks, lalarm, and coroutines
- From: roberto@... (Roberto Ierusalimschy)
- Date: Mon, 25 Jun 2007 21:15:34 -0300
> My read of the source suggests that existing hooks are propagated when
> creating new coroutines, but if one sets a hook it only affects a particular
> Lua state.
Right.
> This would seem to mean that the alarm function won't actually run until
> we're back executing the coroutine in which it was set. Is this a correct
> reading?
Yes.
-- Roberto