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

Function runtime_worker_service_running

src/daemon/runtime.c:1191–1197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1189}
1190
1191static bool runtime_worker_service_running(cbm_daemon_runtime_worker_t *worker) {
1192 cbm_daemon_runtime_service_t *service = worker->service;
1193 cbm_mutex_lock(&service->mutex);
1194 bool running = service->state == CBM_DAEMON_RUNTIME_SERVICE_RUNNING;
1195 cbm_mutex_unlock(&service->mutex);
1196 return running;
1197}
1198
1199static bool runtime_worker_admit(cbm_daemon_runtime_worker_t *worker,
1200 cbm_daemon_client_id_t *client_id_out) {

Calls 2

cbm_mutex_lockFunction · 0.85
cbm_mutex_unlockFunction · 0.85

Tested by

no test coverage detected