lua-users home
lua-l archive

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


> 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