Searched refs:reader_sem (Results 1 – 1 of 1) sorted by relevance
23 sem_t *reader_sem = (sem_t *)arg; in dscr_default_lockstep_writer() local33 FAIL_IF_EXIT(sem_post(reader_sem)); in dscr_default_lockstep_writer()43 sem_t *reader_sem = &rw_semaphores[0]; in dscr_default_lockstep_test() local49 FAIL_IF(sem_init(reader_sem, 0, 0)); in dscr_default_lockstep_test()55 FAIL_IF(sem_wait(reader_sem)); in dscr_default_lockstep_test()66 FAIL_IF(sem_destroy(reader_sem)); in dscr_default_lockstep_test()