MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / lua_pushthread

Function lua_pushthread

lua/lapi.c:526–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524
525
526LUA_API int lua_pushthread (lua_State *L) {
527 lua_lock(L);
528 setthvalue(L, L->top, L);
529 api_incr_top(L);
530 lua_unlock(L);
531 return (G(L)->mainthread == L);
532}
533
534
535

Callers 2

luaB_setfenvFunction · 0.85
luaB_corunningFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected