| 2626 | } ipc_lock_contender_t; |
| 2627 | |
| 2628 | static void *ipc_lock_contender(void *opaque) { |
| 2629 | ipc_lock_contender_t *contender = (ipc_lock_contender_t *)opaque; |
| 2630 | cbm_daemon_ipc_startup_lock_t *lock = NULL; |
| 2631 | contender->result = cbm_daemon_ipc_startup_lock_try_acquire(contender->endpoint, &lock); |
| 2632 | cbm_daemon_ipc_startup_lock_release(&lock); |
| 2633 | return NULL; |
| 2634 | } |
| 2635 | |
| 2636 | TEST(daemon_ipc_startup_lock_has_one_winner) { |
| 2637 | static const char key[] = "5555666677778888"; |
nothing calls this directly
no test coverage detected