| 1189 | } |
| 1190 | |
| 1191 | static 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 | |
| 1199 | static bool runtime_worker_admit(cbm_daemon_runtime_worker_t *worker, |
| 1200 | cbm_daemon_client_id_t *client_id_out) { |
no test coverage detected