lua-users home
lua-l archive

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


>>>>> "Abhijit" == Abhijit Nandy <abhijit.nandy@gmail.com> writes:

 Abhijit> Any other way to make the interpreter safely yield would be
 Abhijit> great too. Has anyone tried to use the debug library to make
 Abhijit> the interpreter yield after a specific amount of time, by
 Abhijit> using the line callbacks to track the time?

Notice that using lua_yield() from a line hook or (better) a count hook
is explicitly documented, so this would be the first method I'd try.

-- 
Andrew.