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

Function host_background_join

src/daemon/host.c:529–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529static bool host_background_join(host_state_t *host) {
530 if (host->http_started) {
531 if (host->http_ops->thread_join(host->http_ops->context, &host->http_thread) != 0) {
532 return false;
533 }
534 host->http_started = false;
535 }
536 if (host->watcher_started) {
537 if (cbm_thread_join(&host->watcher_thread) != 0) {
538 return false;
539 }
540 host->watcher_started = false;
541 }
542 return true;
543}
544
545static bool host_project_lock_manager_free_once(void *context) {
546 cbm_project_lock_manager_t **manager = context;

Callers 1

cbm_daemon_host_runFunction · 0.85

Calls 1

cbm_thread_joinFunction · 0.85

Tested by

no test coverage detected