Re: Yield from debug hook
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Yield from debug hook
- From: "Thiago L." <fakedme@...>
- Date: 2014年6月16日 08:11:58 -0300
On 16/06/2014 03:14, Thomas Jericke wrote:
On 06/15/2014 04:20 PM, Thiago L. wrote:
I'm messing with coroutines and sandboxing and I need a way to yield
from a debug hook. This would let my code check for interrupts on
every instruction and stuff... Does anyone have a patch for doing this?
You don't need a patch to do this, at least not in Lua 5.2
--
Thomas
Uhh really? Why didn't it work then? (tested w/ lua 5.2.3)