poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / pthread_rwlock_tryrdlock.texi
bloba9611f53a0cc8e9c06efc506eb4553703fad6ddc
1 @node pthread_rwlock_tryrdlock
2 @section @code{pthread_rwlock_tryrdlock}
3 @findex pthread_rwlock_tryrdlock
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_tryrdlock.html}
7 Gnulib module: pthread-rwlock
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 Minix 3.1.8, mingw, MSVC 14, Android 4.3.
14 But the provided replacement is just a dummy on some of these platforms:
15 Minix 3.1.8.
16 @end itemize
18 Portability problems not fixed by Gnulib:
19 @itemize
20 @item
21 This function prefers readers to writers (meaning, when this function is
22 called on an rwlock that is already taken by one or more readers, and
23 another writer is already waiting to take it, this function may return
24 successfully immediately) -- a behaviour that may lead to writer starvation --
25 on some platforms:
26 glibc 2.28.
27 @end itemize