careadlinkat: Use 'restrict'.
[gnulib.git] / doc / posix-functions / pthread_rwlock_rdlock.texi
blob20620de4bc535d7a246b061f8d7ca9da27001a0f
1 @node pthread_rwlock_rdlock
2 @section @code{pthread_rwlock_rdlock}
3 @findex pthread_rwlock_rdlock
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.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 As a workaround, you can use the @code{gl_rwlock_t} type from the Gnulib
28 module @samp{lock}.
29 @end itemize