Searched refs:writer_sem (Results 1 – 1 of 1) sorted by relevance
24 sem_t *writer_sem = (sem_t *)arg + 1; in dscr_default_lockstep_writer() local28 FAIL_IF_EXIT(sem_wait(writer_sem)); in dscr_default_lockstep_writer()44 sem_t *writer_sem = &rw_semaphores[1]; in dscr_default_lockstep_test() local50 FAIL_IF(sem_init(writer_sem, 0, 1)); /* writer starts first */ in dscr_default_lockstep_test()62 FAIL_IF(sem_post(writer_sem)); in dscr_default_lockstep_test()67 FAIL_IF(sem_destroy(writer_sem)); in dscr_default_lockstep_test()