MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / lua_closethread

Function lua_closethread

Dependencies/lua/src/lstate.c:342–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

lua_resetthreadFunction · 0.85
luaB_auxwrapFunction · 0.85
luaB_closeFunction · 0.85

Calls 1

luaE_resetthreadFunction · 0.85

Tested by

no test coverage detected