Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BZFlag-Dev/bzflag
/ lua_pushthread
Function
lua_pushthread
other_src/lua/src/lapi.cpp:551–557 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
549
550
551
LUA_API int lua_pushthread (lua_State *L) {
552
lua_lock(L);
553
setthvalue(L, L->top, L);
554
api_incr_top(L);
555
lua_unlock(L);
556
return (G(L)->mainthread == L);
557
}
558
559
560
Callers
2
luaB_setfenv
Function · 0.70
luaB_corunning
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected