lua-users home
lua-l archive

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


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