Home
last modified time | relevance | path

Searched refs:rw_semaphores (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_default_test.c42 sem_t rw_semaphores[2]; in dscr_default_lockstep_test() local
43 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()
/openbmc/linux/Documentation/locking/
H A Dlocktypes.rst94 rw_semaphores have a special interface which allows non-owner release for