diff options
Diffstat (limited to 'upstream/debian-unstable/man3/pthread_rwlockattr_setkind_np.3')
-rw-r--r-- | upstream/debian-unstable/man3/pthread_rwlockattr_setkind_np.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/upstream/debian-unstable/man3/pthread_rwlockattr_setkind_np.3 b/upstream/debian-unstable/man3/pthread_rwlockattr_setkind_np.3 index d068119d..d6163197 100644 --- a/upstream/debian-unstable/man3/pthread_rwlockattr_setkind_np.3 +++ b/upstream/debian-unstable/man3/pthread_rwlockattr_setkind_np.3 @@ -2,7 +2,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH pthread_rwlockattr_setkind_np 3 2023-03-30 "Linux man-pages 6.05.01" +.TH pthread_rwlockattr_setkind_np 3 2024-05-02 "Linux man-pages 6.8" .SH NAME pthread_rwlockattr_setkind_np, pthread_rwlockattr_getkind_np \- set/get the read-write lock kind of the thread read-write lock attribute object @@ -12,19 +12,19 @@ POSIX threads library .SH SYNOPSIS .nf .B #include <pthread.h> -.PP +.P .BI "int pthread_rwlockattr_setkind_np(pthread_rwlockattr_t *" attr , .BI " int " pref ); .B int pthread_rwlockattr_getkind_np( .BI " const pthread_rwlockattr_t *restrict " attr , .BI " int *restrict " pref ); -.PP +.P .fi .RS -4 Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE -.PP +.P .BR pthread_rwlockattr_setkind_np (), .BR pthread_rwlockattr_getkind_np (): .nf @@ -89,7 +89,7 @@ read locks thus avoiding deadlocks. Setting the lock kind to this avoids writer starvation as long as any read locking is not done in a recursive fashion. -.PP +.P The .BR pthread_rwlockattr_getkind_np () function returns the value of the lock kind attribute of the |