Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/xLua
/ lua_pushthread
Function
lua_pushthread
WebGLPlugins/lapi.c:572–578 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
570
571
572
LUA_API int lua_pushthread (lua_State *L) {
573
lua_lock(L);
574
setthvalue(L, L->top, L);
575
api_incr_top(L);
576
lua_unlock(L);
577
return (G(L)->mainthread == L);
578
}
579
580
581
Callers
4
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