MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lua_pushthread

Function lua_pushthread

freebsd/contrib/openzfs/module/lua/lapi.c:590–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588
589
590LUA_API int lua_pushthread (lua_State *L) {
591 lua_lock(L);
592 setthvalue(L, L->top, L);
593 api_incr_top(L);
594 lua_unlock(L);
595 return (G(L)->mainthread == L);
596}
597
598
599

Callers 1

luaB_corunningFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected