| 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 | { |
no test coverage detected