Debian Codegraph @

templates/man3/pthread_rwlockattr_setkind_np.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:38+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "pthread_rwlockattr_setkind_np"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid ""
50 "pthread_rwlockattr_setkind_np, pthread_rwlockattr_getkind_np - set/get the "
51 "read-write lock kind of the thread read-write lock attribute object"
52 msgstr ""
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr ""
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
65 msgstr ""
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr ""
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>pthread.hE<gt>>\n"
79 msgstr ""
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<int pthread_rwlockattr_setkind_np(pthread_rwlockattr_t *>I<attr>B<,>\n"
87 "B< int >I<pref>B<);>\n"
88 "B<int pthread_rwlockattr_getkind_np(>\n"
89 "B< const pthread_rwlockattr_t *restrict >I<attr>B<,>\n"
90 "B< int *restrict >I<pref>B<);>\n"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
98 msgstr ""
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid "B<pthread_rwlockattr_setkind_np>(), B<pthread_rwlockattr_getkind_np>():"
104 msgstr ""
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200809L\n"
111 msgstr ""
112
113 #. type: SH
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 #, no-wrap
117 msgid "DESCRIPTION"
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "The B<pthread_rwlockattr_setkind_np>() function sets the \"lock kind\" "
125 "attribute of the read-write lock attribute object referred to by I<attr> to "
126 "the value specified in I<pref>. The argument I<pref> may be set to one of "
127 "the following:"
128 msgstr ""
129
130 #. type: TP
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 #, no-wrap
134 msgid "B<PTHREAD_RWLOCK_PREFER_READER_NP>"
135 msgstr ""
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid ""
141 "This is the default. A thread may hold multiple read locks; that is, read "
142 "locks are recursive. According to The Single Unix Specification, the "
143 "behavior is unspecified when a reader tries to place a lock, and there is no "
144 "write lock but writers are waiting. Giving preference to the reader, as is "
145 "set by B<PTHREAD_RWLOCK_PREFER_READER_NP>, implies that the reader will "
146 "receive the requested lock, even if a writer is waiting. As long as there "
147 "are readers, the writer will be starved."
148 msgstr ""
149
150 #. type: TP
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 #, no-wrap
154 msgid "B<PTHREAD_RWLOCK_PREFER_WRITER_NP>"
155 msgstr ""
156
157 #
158 #
159 #
160 #. #-#-#-#-# archlinux: pthread_rwlockattr_setkind_np.3.pot (PACKAGE VERSION) #-#-#-#-#
161 #. ---
162 #. Here is the relevant wording:
163 #. A thread may hold multiple concurrent read locks on rwlock (that is,
164 #. successfully call the pthread_rwlock_rdlock() function n times). If
165 #. so, the thread must perform matching unlocks (that is, it must call
166 #. the pthread_rwlock_unlock() function n times).
167 #. By making write-priority work correctly, I broke the above requirement,
168 #. because I had no clue that recursive read locks are permissible.
169 #. If a thread which holds a read lock tries to acquire another read lock,
170 #. and now one or more writers is waiting for a write lock, then the algorithm
171 #. will lead to an obvious deadlock. The reader will be suspended, waiting for
172 #. the writers to acquire and release the lock, and the writers will be
173 #. suspended waiting for every existing read lock to be released.
174 #. ---
175 #. https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html
176 #. https://sourceware.org/legacy-ml/libc-alpha/2000-01/msg00055.html
177 #. https://sourceware.org/bugzilla/show_bug.cgi?id=7057
178 #. type: Plain text
179 #. #-#-#-#-# debian-trixie: pthread_rwlockattr_setkind_np.3.pot (PACKAGE VERSION) #-#-#-#-#
180 #. ---
181 #. Here is the relevant wording:
182 #. A thread may hold multiple concurrent read locks on rwlock (that is,
183 #. successfully call the pthread_rwlock_rdlock() function n times). If
184 #. so, the thread must perform matching unlocks (that is, it must call
185 #. the pthread_rwlock_unlock() function n times).
186 #. By making write-priority work correctly, I broke the above requirement,
187 #. because I had no clue that recursive read locks are permissible.
188 #. If a thread which holds a read lock tries to acquire another read lock,
189 #. and now one or more writers is waiting for a write lock, then the algorithm
190 #. will lead to an obvious deadlock. The reader will be suspended, waiting for
191 #. the writers to acquire and release the lock, and the writers will be
192 #. suspended waiting for every existing read lock to be released.
193 #. ---
194 #. https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html
195 #. https://sourceware.org/legacy-ml/libc-alpha/2000-01/msg00055.html
196 #. https://sourceware.org/bugzilla/show_bug.cgi?id=7057
197 #. type: Plain text
198 #. #-#-#-#-# debian-unstable: pthread_rwlockattr_setkind_np.3.pot (PACKAGE VERSION) #-#-#-#-#
199 #. ---
200 #. Here is the relevant wording:
201 #. A thread may hold multiple concurrent read locks on rwlock (that is,
202 #. successfully call the pthread_rwlock_rdlock() function n times). If
203 #. so, the thread must perform matching unlocks (that is, it must call
204 #. the pthread_rwlock_unlock() function n times).
205 #. By making write-priority work correctly, I broke the above requirement,
206 #. because I had no clue that recursive read locks are permissible.
207 #. If a thread which holds a read lock tries to acquire another read lock,
208 #. and now one or more writers is waiting for a write lock, then the algorithm
209 #. will lead to an obvious deadlock. The reader will be suspended, waiting for
210 #. the writers to acquire and release the lock, and the writers will be
211 #. suspended waiting for every existing read lock to be released.
212 #. ---
213 #. https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html
214 #. https://sourceware.org/legacy-ml/libc-alpha/2000-01/msg00055.html
215 #. https://sourceware.org/bugzilla/show_bug.cgi?id=7057
216 #. type: Plain text
217 #. #-#-#-#-# fedora-44: pthread_rwlockattr_setkind_np.3.pot (PACKAGE VERSION) #-#-#-#-#
218 #. ---
219 #. Here is the relevant wording:
220 #. A thread may hold multiple concurrent read locks on rwlock (that is,
221 #. successfully call the pthread_rwlock_rdlock() function n times). If
222 #. so, the thread must perform matching unlocks (that is, it must call
223 #. the pthread_rwlock_unlock() function n times).
224 #. By making write-priority work correctly, I broke the above requirement,
225 #. because I had no clue that recursive read locks are permissible.
226 #. If a thread which holds a read lock tries to acquire another read lock,
227 #. and now one or more writers is waiting for a write lock, then the algorithm
228 #. will lead to an obvious deadlock. The reader will be suspended, waiting for
229 #. the writers to acquire and release the lock, and the writers will be
230 #. suspended waiting for every existing read lock to be released.
231 #. ---
232 #. https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html
233 #. https://sourceware.org/legacy-ml/libc-alpha/2000-01/msg00055.html
234 #. https://sourceware.org/bugzilla/show_bug.cgi?id=7057
235 #. type: Plain text
236 #. #-#-#-#-# fedora-rawhide: pthread_rwlockattr_setkind_np.3.pot (PACKAGE VERSION) #-#-#-#-#
237 #. ---
238 #. Here is the relevant wording:
239 #. A thread may hold multiple concurrent read locks on rwlock (that is,
240 #. successfully call the pthread_rwlock_rdlock() function n times). If
241 #. so, the thread must perform matching unlocks (that is, it must call
242 #. the pthread_rwlock_unlock() function n times).
243 #. By making write-priority work correctly, I broke the above requirement,
244 #. because I had no clue that recursive read locks are permissible.
245 #. If a thread which holds a read lock tries to acquire another read lock,
246 #. and now one or more writers is waiting for a write lock, then the algorithm
247 #. will lead to an obvious deadlock. The reader will be suspended, waiting for
248 #. the writers to acquire and release the lock, and the writers will be
249 #. suspended waiting for every existing read lock to be released.
250 #. ---
251 #. https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html
252 #. https://sourceware.org/legacy-ml/libc-alpha/2000-01/msg00055.html
253 #. https://sourceware.org/bugzilla/show_bug.cgi?id=7057
254 #. type: Plain text
255 #. #-#-#-#-# mageia-cauldron: pthread_rwlockattr_setkind_np.3.pot (PACKAGE VERSION) #-#-#-#-#
256 #. ---
257 #. Here is the relevant wording:
258 #. A thread may hold multiple concurrent read locks on rwlock (that is,
259 #. successfully call the pthread_rwlock_rdlock() function n times). If
260 #. so, the thread must perform matching unlocks (that is, it must call
261 #. the pthread_rwlock_unlock() function n times).
262 #. By making write-priority work correctly, I broke the above requirement,
263 #. because I had no clue that recursive read locks are permissible.
264 #. If a thread which holds a read lock tries to acquire another read lock,
265 #. and now one or more writers is waiting for a write lock, then the algorithm
266 #. will lead to an obvious deadlock. The reader will be suspended, waiting for
267 #. the writers to acquire and release the lock, and the writers will be
268 #. suspended waiting for every existing read lock to be released.
269 #. ---
270 #. https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html
271 #. https://sourceware.org/legacy-ml/libc-alpha/2000-01/msg00055.html
272 #. https://sourceware.org/bugzilla/show_bug.cgi?id=7057
273 #. type: Plain text
274 #. #-#-#-#-# opensuse-leap-16-1: pthread_rwlockattr_setkind_np.3.pot (PACKAGE VERSION) #-#-#-#-#
275 #. ---
276 #. Here is the relevant wording:
277 #. A thread may hold multiple concurrent read locks on rwlock (that is,
278 #. successfully call the pthread_rwlock_rdlock() function n times). If
279 #. so, the thread must perform matching unlocks (that is, it must call
280 #. the pthread_rwlock_unlock() function n times).
281 #. By making write-priority work correctly, I broke the above requirement,
282 #. because I had no clue that recursive read locks are permissible.
283 #. If a thread which holds a read lock tries to acquire another read lock,
284 #. and now one or more writers is waiting for a write lock, then the algorithm
285 #. will lead to an obvious deadlock. The reader will be suspended, waiting for
286 #. the writers to acquire and release the lock, and the writers will be
287 #. suspended waiting for every existing read lock to be released.
288 #. ---
289 #. https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html
290 #. https://sourceware.org/legacy-ml/libc-alpha/2000-01/msg00055.html
291 #. https://sourceware.org/bugzilla/show_bug.cgi?id=7057
292 #. type: Plain text
293 #. #-#-#-#-# opensuse-tumbleweed: pthread_rwlockattr_setkind_np.3.pot (PACKAGE VERSION) #-#-#-#-#
294 #. ---
295 #. Here is the relevant wording:
296 #. A thread may hold multiple concurrent read locks on rwlock (that is,
297 #. successfully call the pthread_rwlock_rdlock() function n times). If
298 #. so, the thread must perform matching unlocks (that is, it must call
299 #. the pthread_rwlock_unlock() function n times).
300 #. By making write-priority work correctly, I broke the above requirement,
301 #. because I had no clue that recursive read locks are permissible.
302 #. If a thread which holds a read lock tries to acquire another read lock,
303 #. and now one or more writers is waiting for a write lock, then the algorithm
304 #. will lead to an obvious deadlock. The reader will be suspended, waiting for
305 #. the writers to acquire and release the lock, and the writers will be
306 #. suspended waiting for every existing read lock to be released.
307 #. ---
308 #. https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html
309 #. https://sourceware.org/legacy-ml/libc-alpha/2000-01/msg00055.html
310 #. https://sourceware.org/bugzilla/show_bug.cgi?id=7057
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "This is intended as the write lock analog of "
316 "B<PTHREAD_RWLOCK_PREFER_READER_NP>. This is ignored by glibc because the "
317 "POSIX requirement to support recursive read locks would cause this option to "
318 "create trivial deadlocks; instead use "
319 "B<PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP> which ensures the "
320 "application developer will not take recursive read locks thus avoiding "
321 "deadlocks."
322 msgstr ""
323
324 #. type: TP
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 #, no-wrap
328 msgid "B<PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP>"
329 msgstr ""
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid ""
335 "Setting the lock kind to this avoids writer starvation as long as any read "
336 "locking is not done in a recursive fashion."
337 msgstr ""
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 msgid ""
343 "The B<pthread_rwlockattr_getkind_np>() function returns the value of the "
344 "lock kind attribute of the read-write lock attribute object referred to by "
345 "I<attr> in the pointer I<pref>."
346 msgstr ""
347
348 #. type: SH
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid "RETURN VALUE"
353 msgstr ""
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid ""
359 "On success, these functions return 0. Given valid pointer arguments, "
360 "B<pthread_rwlockattr_getkind_np>() always succeeds. On error, "
361 "B<pthread_rwlockattr_setkind_np>() returns a nonzero error number."
362 msgstr ""
363
364 #. type: SH
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 #, no-wrap
368 msgid "ERRORS"
369 msgstr ""
370
371 #. type: TP
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "B<EINVAL>"
376 msgstr ""
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid "I<pref> specifies an unsupported value."
382 msgstr ""
383
384 #. type: SH
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 #, no-wrap
388 msgid "STANDARDS"
389 msgstr ""
390
391 #. type: Plain text
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 msgid "GNU; hence the suffix \"_np\" (nonportable) in the names."
395 msgstr ""
396
397 #. type: SH
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 #, no-wrap
401 msgid "HISTORY"
402 msgstr ""
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid "glibc 2.1."
408 msgstr ""
409
410 #. type: SH
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "SEE ALSO"
415 msgstr ""
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid "B<pthreads>(7)"
421 msgstr ""
422
423 #. type: TH
424 #: debian-trixie
425 #, no-wrap
426 msgid "2024-05-02"
427 msgstr ""
428
429 #. type: TH
430 #: debian-trixie
431 #, no-wrap
432 msgid "Linux man-pages 6.9.1"
433 msgstr ""
434
435 #. type: Plain text
436 #: debian-trixie
437 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
438 msgstr ""
439
440 #. type: TH
441 #: fedora-44 fedora-rawhide
442 #, no-wrap
443 msgid "2024-07-23"
444 msgstr ""
445
446 #. type: TH
447 #: fedora-44 fedora-rawhide
448 #, no-wrap
449 msgid "Linux man-pages 6.13"
450 msgstr ""
451
452 #. type: TH
453 #: mageia-cauldron
454 #, no-wrap
455 msgid "Linux man-pages 6.17"
456 msgstr ""
457
458 #. type: TH
459 #: opensuse-leap-16-1 opensuse-tumbleweed
460 #, no-wrap
461 msgid "Linux man-pages (unreleased)"
462 msgstr ""