Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PlutoLang/Pluto
/ lua_pushthread
Function
lua_pushthread
src/lapi.cpp:710–716 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
708
709
710
LUA_API int lua_pushthread (lua_State *L) {
711
lua_lock(L);
712
setthvalue(L, s2v(L->top.p), L);
713
api_incr_top(L);
714
lua_unlock(L);
715
return (mainthread(G(L)) == L);
716
}
717
718
719
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