poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / pthread_rwlock_timedrdlock.texi
blobc7c16f72cafba3501723ceca17d756dc54552779
1 @node pthread_rwlock_timedrdlock
2 @section @code{pthread_rwlock_timedrdlock}
3 @findex pthread_rwlock_timedrdlock
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_timedrdlock.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 Mac OS X 10.13, FreeBSD 5.2.1, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin 1.7.x, 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