| 249 | } |
| 250 | |
| 251 | static int application_job_thread_create(cbm_thread_t *thread, void *context) { |
| 252 | if (atomic_exchange_explicit(&g_application_fail_next_job_thread_start_for_test, false, |
| 253 | memory_order_acq_rel)) { |
| 254 | return -1; |
| 255 | } |
| 256 | return cbm_thread_create(thread, APPLICATION_JOB_THREAD_STACK, application_job_thread, context); |
| 257 | } |
| 258 | |
| 259 | static bool application_request_cancelled_locked(const cbm_daemon_application_session_t *session) { |
| 260 | return session && |
no test coverage detected