lua-users home
lua-l archive

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

> A Lua script calls an external C function. This function schedules for
> execution a stack of actions, and imediately calls lua_yield() to stop
> the script from running further. Where exactly will LUA VM stop in this
> scenario ?

Exactly after the call. When you resume the thread, it will start at the
next opcode after the OP_CALL that called the C function.

-- Roberto