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

Function luaB_corunning

app/redis-6.2.6/deps/lua/src/lbaselib.c:599–603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597
598
599static int luaB_corunning (lua_State *L) {
600 if (lua_pushthread(L))
601 lua_pushnil(L); /* main thread is not a coroutine */
602 return 1;
603}
604
605
606static const luaL_Reg co_funcs[] = {

Callers

nothing calls this directly

Calls 2

lua_pushthreadFunction · 0.70
lua_pushnilFunction · 0.70

Tested by

no test coverage detected