Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SakuraEngine/SakuraEngine
/ lua_pushthread
Function
lua_pushthread
xrepo/packages/l/lua/port/lua/src/lapi.c:628–634 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
626
627
628
LUA_API int lua_pushthread (lua_State *L) {
629
lua_lock(L);
630
setthvalue(L, s2v(L->top), L);
631
api_incr_top(L);
632
lua_unlock(L);
633
return (G(L)->mainthread == L);
634
}
635
636
637
Callers
4
luaB_corunning
Function · 0.70
hookf
Function · 0.70
db_sethook
Function · 0.70
db_gethook
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected