lua-users home
lua-l archive

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


On Fri, 6 Mar 2015 13:30:24 +0100 (CET)
Gunnar Zötl <gz@tset.de> wrote:

> 
> > > Lua 5.3 has `lua_isyieldable`[1] (or `coroutine.isyieldable`[2] on the 
> > > Lua side). For previous Lua versions you are out of luck.
> > 
> > 
> > Great, thank you. My Lua implementation is currently in
> > development/beta, so I can make big changes and upgrade the version.
> 
> if you don't mind fiddling with lua's internals, I have a small module
> (http://www.tset.de/dbghelper/) which among other things also needs to check
> whether lua can yield, look at YIELDCOND, right at the start.

Thank you Gunnar,

I will look this asap.

Thierry