MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_closethread

Function lua_closethread

third-party/lua-5.4.6/src/lstate.c:345–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343
344
345LUA_API int lua_closethread (lua_State *L, lua_State *from) {
346 int status;
347 lua_lock(L);
348 L->nCcalls = (from) ? getCcalls(from) : 0;
349 status = luaE_resetthread(L, L->status);
350 lua_unlock(L);
351 return status;
352}
353
354
355/*

Callers 3

lua_resetthreadFunction · 0.70
luaB_auxwrapFunction · 0.70
luaB_closeFunction · 0.70

Calls 1

luaE_resetthreadFunction · 0.70

Tested by

no test coverage detected