lua-users home
lua-l archive

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


> Does anyone know if there is the ability to write reentrant scripts in
> Lua, or to modify the interpreter to support such a feature? I am
looking
> for a way to write a script such that I can have it initialize some
data,
> pause and return to the C side, and then have the C side resume the
script
> at a later time.

http://lua-users.org/wiki/CoroutinesTutorial