Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ lua_pushthread
Function
lua_pushthread
depends/lua/src/lapi.c:573–579 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
571
572
573
LUA_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
5
convert_to_exception
Function · 0.85
luaB_corunning
Function · 0.85
hookf
Function · 0.85
db_sethook
Function · 0.85
db_gethook
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected