| 864 | static std::atomic<int> g_repl_write_fd{-1}; |
| 865 | |
| 866 | static void close_fd(int fd) { |
| 867 | if (fd < 0) |
| 868 | return; |
| 869 | #ifdef _WIN32 |
| 870 | _close(fd); |
| 871 | #else |
| 872 | ::close(fd); |
| 873 | #endif |
| 874 | } |
| 875 | |
| 876 | void start_embedded_repl(int read_fd, int write_fd) { |
| 877 | stop_embedded_repl(); |
no outgoing calls
no test coverage detected