Home
last modified time | relevance | path

Searched refs:LUA_YIELD (Results 1 – 6 of 6) sorted by relevance

/netbsd/src/external/mit/lua/dist/src/
Dlcorolib.c44 if (l_likely(status == LUA_OK || status == LUA_YIELD)) { in auxresume()
82 if (stat != LUA_OK && stat != LUA_YIELD) { /* error in the coroutine? */ in luaB_auxwrap()
135 case LUA_YIELD: in auxstatus()
Dldo.c42 #define errorstatus(s) ((s) > LUA_YIELD)
682 status = LUA_YIELD; /* was interrupted by an yield */ in finishpcallk()
720 int status = LUA_YIELD; /* default if there were no errors */ in finishCcall()
796 lua_assert(L->status == LUA_YIELD); in resume()
805 n = (*ci->u.c.k)(L, LUA_YIELD, ci->u.c.ctx); /* call continuation */ in resume()
845 else if (L->status != LUA_YIELD) /* ended with errors? */ in lua_resume()
863 *nresults = (status == LUA_YIELD) ? L->ci->u2.nyield in lua_resume()
888 L->status = LUA_YIELD; in lua_yieldk()
898 luaD_throw(L, LUA_YIELD); in lua_yieldk()
Dldebug.c919 if (L->status == LUA_YIELD) { /* did hook yield? */ in luaG_traceexec()
924 luaD_throw(L, LUA_YIELD); in luaG_traceexec()
Dlbaselib.c470 if (l_unlikely(status != LUA_OK && status != LUA_YIELD)) { /* error? */ in finishpcall()
Dlua.h54 #define LUA_YIELD 1 macro
Dlstate.c332 if (status == LUA_YIELD) in luaE_resetthread()