MCPcopy Create free account
hub / github.com/F-Stack/f-stack / findpcall

Function findpcall

freebsd/contrib/openzfs/module/lua/ldo.c:526–533  ·  view source on GitHub ↗

** check whether thread has a suspended protected call */

Source from the content-addressed store, hash-verified

524** check whether thread has a suspended protected call
525*/
526static CallInfo *findpcall (lua_State *L) {
527 CallInfo *ci;
528 for (ci = L->ci; ci != NULL; ci = ci->previous) { /* search for a pcall */
529 if (ci->callstatus & CIST_YPCALL)
530 return ci;
531 }
532 return NULL; /* no pending pcall */
533}
534
535
536static int recover (lua_State *L, int status) {

Callers 1

recoverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected