MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / host_current_process_id

Function host_current_process_id

src/daemon/host.c:185–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185static 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
193static _Noreturn void host_cleanup_force_terminate(const char *component) {
194 /* Early startup failures can precede the ordinary operation-log setup.

Callers 1

cbm_daemon_host_runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected