| 282 | } |
| 283 | |
| 284 | static int application_job_thread_create(cbm_thread_t *thread, void *context) { |
| 285 | if (atomic_exchange_explicit(&g_application_fail_next_job_thread_start_for_test, false, |
| 286 | memory_order_acq_rel)) { |
| 287 | return -1; |
| 288 | } |
| 289 | return cbm_thread_create(thread, APPLICATION_JOB_THREAD_STACK, application_job_thread, context); |
| 290 | } |
| 291 | |
| 292 | static bool application_request_cancelled_locked(const cbm_daemon_application_session_t *session) { |
| 293 | return session && |
no test coverage detected