Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ObEngine/ObEngine
/ lua_pushthread
Function
lua_pushthread
extlibs/lua/src/lapi.c:594–600 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
592
593
594
LUA_API int lua_pushthread (lua_State *L) {
595
lua_lock(L);
596
setthvalue(L, s2v(L->top), L);
597
api_incr_top(L);
598
lua_unlock(L);
599
return (G(L)->mainthread == L);
600
}
601
602
603
Callers
7
luaB_corunning
Function · 0.85
hookf
Function · 0.85
db_sethook
Function · 0.85
db_gethook
Function · 0.85
is_main_thread
Function · 0.85
register_main_thread
Function · 0.85
push
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected