Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CppCXY/EmmyLuaCodeStyle
/ lua_pushthread
Function
lua_pushthread
3rd/lua-5.4.3/src/lapi.c:618–624 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
616
617
618
LUA_API int lua_pushthread (lua_State *L) {
619
lua_lock(L);
620
setthvalue(L, s2v(L->top), L);
621
api_incr_top(L);
622
lua_unlock(L);
623
return (G(L)->mainthread == L);
624
}
625
626
627
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