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

Function lua_pushthread

third-party/lua-5.3.5/src/lapi.c:573–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571
572
573LUA_API int lua_pushthread (lua_State *L) {
574 lua_lock(L);
575 setthvalue(L, L->top, L);
576 api_incr_top(L);
577 lua_unlock(L);
578 return (G(L)->mainthread == L);
579}
580
581
582

Callers 4

luaB_corunningFunction · 0.70
hookfFunction · 0.70
db_sethookFunction · 0.70
db_gethookFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected