| 1960 | } |
| 1961 | |
| 1962 | static cbm_daemon_runtime_worker_t *runtime_find_free_worker_locked( |
| 1963 | cbm_daemon_runtime_service_t *service) { |
| 1964 | for (size_t i = 0; i < service->worker_capacity; i++) { |
| 1965 | if (!service->workers[i].in_use) { |
| 1966 | return &service->workers[i]; |
| 1967 | } |
| 1968 | } |
| 1969 | return NULL; |
| 1970 | } |
| 1971 | |
| 1972 | static void runtime_reject_inline(cbm_daemon_ipc_connection_t *connection, const char *message) { |
| 1973 | cbm_daemon_runtime_connect_result_t result; |
no outgoing calls
no test coverage detected