Home
last modified time | relevance | path

Searched refs:Lc (Results 1 – 4 of 4) sorted by relevance

/memcached-1.6.32/
Dproxy_luafgen.c51 lua_settop(rctx->Lc, 0); in mcp_funcgen_wait_handler()
56 lua_pushnil(rctx->Lc); in mcp_funcgen_wait_handler()
65 lua_pushboolean(rctx->Lc, 1); in mcp_funcgen_wait_handler()
298 rc->Lc = lua_newthread(L); in _mcplib_funcgen_gencall()
299 assert(rc->Lc); in _mcplib_funcgen_gencall()
328 rctx->Lc = lua_newthread(L); in _mcp_funcgen_return_rctx()
329 assert(rctx->Lc); in _mcp_funcgen_return_rctx()
332 lua_settop(rctx->Lc, 0); in _mcp_funcgen_return_rctx()
969 lua_settop(rctx->Lc, 0); in proxy_return_rqu_dummy_cb()
1036 lua_settop(rctx->Lc, 0); in mcp_process_rctx_wait()
[all …]
Dproto_proxy.c592 lua_rotate(rctx->Lc, 1, 1); in proxy_return_rctx_cb()
593 lua_settop(rctx->Lc, 1); in proxy_return_rctx_cb()
895 lua_State *Lc = rctx->Lc; in proxy_run_rcontext() local
897 int cores = lua_resume(Lc, NULL, rctx->lua_narg, &nresults); in proxy_run_rcontext()
905 int type = lua_type(Lc, 1); in proxy_run_rcontext()
932 const char *s = lua_tolstring(Lc, 1, &rlen); in proxy_run_rcontext()
936 lua_pop(Lc, 1); in proxy_run_rcontext()
944 int yield_type = lua_tointeger(Lc, -1); in proxy_run_rcontext()
947 lua_pop(Lc, 1); in proxy_run_rcontext()
1192 lua_rawgeti(rctx->Lc, LUA_REGISTRYINDEX, rctx->function_ref); in proxy_process_command()
[all …]
Dproxy.h748 lua_State *Lc; // coroutine thread pointer. member
Dproxy_internal.c1654 lua_State *L = rctx->Lc; in mcplib_internal_run()