Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ lua_pushthread
Function
lua_pushthread
3rdparty/lua/plainlua/lapi.c:624–630 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
622
623
624
LUA_API int lua_pushthread (lua_State *L) {
625
lua_lock(L);
626
setthvalue(L, s2v(L->top.p), L);
627
api_incr_top(L);
628
lua_unlock(L);
629
return (G(L)->mainthread == L);
630
}
631
632
633
Callers
7
is_main_thread
Function · 0.85
register_main_thread
Function · 0.85
push
Method · 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