| 37 | |
| 38 | static std::atomic<bool> g_is_interrupted = false; |
| 39 | static bool should_stop() { |
| 40 | return g_is_interrupted.load(); |
| 41 | } |
| 42 | |
| 43 | #if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__)) || defined (_WIN32) |
| 44 | static void signal_handler(int) { |
no test coverage detected