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

Function runtime_worker_service_running

src/daemon/runtime.c:1160–1166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1158}
1159
1160static bool runtime_worker_service_running(cbm_daemon_runtime_worker_t *worker) {
1161 cbm_daemon_runtime_service_t *service = worker->service;
1162 cbm_mutex_lock(&service->mutex);
1163 bool running = service->state == CBM_DAEMON_RUNTIME_SERVICE_RUNNING;
1164 cbm_mutex_unlock(&service->mutex);
1165 return running;
1166}
1167
1168static bool runtime_worker_admit(cbm_daemon_runtime_worker_t *worker,
1169 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