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

Function host_background_start

src/daemon/host.c:826–834  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

824}
825
826static bool host_background_start(host_state_t *host) {
827 if (cbm_thread_create(&host->watcher_thread, 0, host_watcher_thread, host->watcher) != 0) {
828 return false;
829 }
830 host->watcher_started = true;
831
832 host_http_reconcile_at(host, cbm_now_ms(), true);
833 return true;
834}
835
836static bool host_wait_for_lifetime(cbm_daemon_runtime_service_t *service,
837 atomic_int *stop_requested, host_state_t *host, bool permanent) {

Callers 1

cbm_daemon_host_runFunction · 0.85

Calls 3

cbm_thread_createFunction · 0.85
host_http_reconcile_atFunction · 0.85
cbm_now_msFunction · 0.85

Tested by

no test coverage detected