| 527 | } |
| 528 | |
| 529 | static 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 | |
| 545 | static bool host_project_lock_manager_free_once(void *context) { |
| 546 | cbm_project_lock_manager_t **manager = context; |
no test coverage detected