| 183 | } |
| 184 | |
| 185 | static uint64_t host_current_process_id(void) { |
| 186 | #ifdef _WIN32 |
| 187 | return (uint64_t)GetCurrentProcessId(); |
| 188 | #else |
| 189 | return (uint64_t)getpid(); |
| 190 | #endif |
| 191 | } |
| 192 | |
| 193 | static _Noreturn void host_cleanup_force_terminate(const char *component) { |
| 194 | /* Early startup failures can precede the ordinary operation-log setup. |
no outgoing calls
no test coverage detected