Searched refs:rw_semaphores (Results 1 – 2 of 2) sorted by relevance
42 sem_t rw_semaphores[2]; in dscr_default_lockstep_test() local43 sem_t *reader_sem = &rw_semaphores[0]; in dscr_default_lockstep_test()44 sem_t *writer_sem = &rw_semaphores[1]; in dscr_default_lockstep_test()52 FAIL_IF(pthread_create(&writer, NULL, dscr_default_lockstep_writer, (void *)rw_semaphores)); in dscr_default_lockstep_test()
94 rw_semaphores have a special interface which allows non-owner release for