MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / start_repl_async

Function start_repl_async

src/Chain/libraries/glua/thinkyoung_lua_lib.cpp:2471–2480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2469 }
2470
2471 bool start_repl_async(lua_State *L)
2472 {
2473 int * state = get_repl_state(L);
2474 if (nullptr == state)
2475 return false;
2476 *state = 1;
2477 std::thread t(start_repl, L);
2478 t.detach();
2479 return true;
2480 }
2481
2482 bool check_repl_running(lua_State *L)
2483 {

Callers 2

start_repl_asyncMethod · 0.85
mainFunction · 0.85

Calls 2

get_repl_stateFunction · 0.85
detachMethod · 0.45

Tested by

no test coverage detected