Debian Codegraph @

po/es/man7/pthreads.7.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 msgid ""
5 msgstr ""
6 "Project-Id-Version: manpages-l10n 4.11.0\n"
7 "POT-Creation-Date: 2026-06-05 06:38+0200\n"
8 "PO-Revision-Date: 2021-09-03 21:25+0200\n"
9 "Last-Translator: Automatically generated\n"
10 "Language-Team: Spanish <[email protected]>\n"
11 "Language: es\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
17 #. type: TH
18 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
19 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
20 #, no-wrap
21 msgid "pthreads"
22 msgstr ""
23
24 #. type: TH
25 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
26 #: opensuse-tumbleweed
27 #, no-wrap
28 msgid "2026-02-08"
29 msgstr "8 Febrero 2026"
30
31 #. type: TH
32 #: archlinux debian-unstable
33 #, fuzzy, no-wrap
34 #| msgid "Linux man-pages 6.17"
35 msgid "Linux man-pages 6.18"
36 msgstr "Páginas de Manual de Linux 6.17"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "NOMBRE"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "pthreads - POSIX threads"
49 msgstr ""
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "DESCRIPTION"
56 msgstr "DESCRIPCIÓN"
57
58 #. type: Plain text
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 msgid ""
62 "POSIX.1 specifies a set of interfaces (functions, header files) for threaded "
63 "programming commonly known as POSIX threads, or Pthreads. A single process "
64 "can contain multiple threads, all of which are executing the same program. "
65 "These threads share the same global memory (data and heap segments), but "
66 "each thread has its own stack (automatic variables)."
67 msgstr ""
68
69 #. type: Plain text
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 msgid ""
73 "POSIX.1 also requires that threads share a range of other attributes (i.e., "
74 "these attributes are process-wide rather than per-thread):"
75 msgstr ""
76
77 #. type: IP
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "\\[bu]"
82 msgstr "\\[bu]"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 msgid "process ID"
88 msgstr ""
89
90 #. type: Plain text
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 msgid "parent process ID"
94 msgstr ""
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid "process group ID and session ID"
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 msgid "controlling terminal"
106 msgstr ""
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 msgid "user and group IDs"
112 msgstr ""
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid "open file descriptors"
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 "record locks (see B<fcntl>(2))"
124 msgstr ""
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid "signal dispositions"
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid "file mode creation mask (B<umask>(2))"
136 msgstr ""
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid "current directory (B<chdir>(2)) and root directory (B<chroot>(2))"
142 msgstr ""
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "interval timers (B<setitimer>(2)) and POSIX timers (B<timer_create>(2))"
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid "nice value (B<setpriority>(2))"
155 msgstr ""
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 msgid "resource limits (B<setrlimit>(2))"
161 msgstr ""
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid ""
167 "measurements of the consumption of CPU time (B<times>(2)) and resources "
168 "(B<getrusage>(2))"
169 msgstr ""
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "As well as the stack, POSIX.1 specifies that various other attributes are "
176 "distinct for each thread, including:"
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid "thread ID (the I<pthread_t> data type)"
183 msgstr ""
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 msgid "signal mask (B<pthread_sigmask>(3))"
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid "the I<errno> variable"
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid "alternate signal stack (B<sigaltstack>(2))"
201 msgstr ""
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 msgid "real-time scheduling policy and priority (B<sched>(7))"
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid "The following Linux-specific features are also per-thread:"
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid "capabilities (see B<capabilities>(7))"
219 msgstr ""
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid "CPU affinity (B<sched_setaffinity>(2))"
225 msgstr ""
226
227 #. type: SS
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid "Pthreads function return values"
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "Most pthreads functions return 0 on success, and an error number on "
239 "failure. The error numbers that can be returned have the same meaning as "
240 "the error numbers returned in I<errno> by conventional system calls and C "
241 "library functions. Note that the pthreads functions do not set I<errno>. "
242 "For each of the pthreads functions that can return an error, POSIX.1-2001 "
243 "specifies that the function can never fail with the error B<EINTR>."
244 msgstr ""
245
246 #. type: SS
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "Thread IDs"
251 msgstr ""
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid ""
257 "Each of the threads in a process has a unique thread identifier (stored in "
258 "the type I<pthread_t>). This identifier is returned to the caller of "
259 "B<pthread_create>(3), and a thread can obtain its own thread identifier "
260 "using B<pthread_self>(3)."
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid ""
267 "Thread IDs are guaranteed to be unique only within a process. (In all "
268 "pthreads functions that accept a thread ID as an argument, that ID by "
269 "definition refers to a thread in the same process as the caller.)"
270 msgstr ""
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid ""
276 "The system may reuse a thread ID after a terminated thread has been joined, "
277 "or a detached thread has terminated. POSIX says: \"If an application "
278 "attempts to use a thread ID whose lifetime has ended, the behavior is "
279 "undefined.\""
280 msgstr ""
281
282 #. type: SS
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid "Thread-safe functions"
287 msgstr ""
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 msgid ""
293 "A thread-safe function is one that can be safely (i.e., it will deliver the "
294 "same results regardless of whether it is) called from multiple threads at "
295 "the same time."
296 msgstr ""
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid ""
302 "POSIX.1-2001 and POSIX.1-2008 require that all functions specified in the "
303 "standard shall be thread-safe, except for the following functions:"
304 msgstr ""
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid ""
311 "asctime()\n"
312 "basename()\n"
313 "catgets()\n"
314 "crypt()\n"
315 "ctermid() if passed a non-NULL argument\n"
316 "ctime()\n"
317 "dbm_clearerr()\n"
318 "dbm_close()\n"
319 "dbm_delete()\n"
320 "dbm_error()\n"
321 "dbm_fetch()\n"
322 "dbm_firstkey()\n"
323 "dbm_nextkey()\n"
324 "dbm_open()\n"
325 "dbm_store()\n"
326 "dirname()\n"
327 "dlerror()\n"
328 "drand48()\n"
329 "ecvt() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n"
330 "encrypt()\n"
331 "endgrent()\n"
332 "endpwent()\n"
333 "endutxent()\n"
334 "fcvt() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n"
335 "ftw()\n"
336 "gcvt() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n"
337 "getc_unlocked()\n"
338 "getchar_unlocked()\n"
339 "getdate()\n"
340 "getenv()\n"
341 "getgrent()\n"
342 "getgrgid()\n"
343 "getgrnam()\n"
344 "gethostbyaddr() [POSIX.1-2001 only (function removed in\n"
345 " POSIX.1-2008)]\n"
346 "gethostbyname() [POSIX.1-2001 only (function removed in\n"
347 " POSIX.1-2008)]\n"
348 "gethostent()\n"
349 "getlogin()\n"
350 "getnetbyaddr()\n"
351 "getnetbyname()\n"
352 "getnetent()\n"
353 "getopt()\n"
354 "getprotobyname()\n"
355 "getprotobynumber()\n"
356 "getprotoent()\n"
357 "getpwent()\n"
358 "getpwnam()\n"
359 "getpwuid()\n"
360 "getservbyname()\n"
361 "getservbyport()\n"
362 "getservent()\n"
363 "getutxent()\n"
364 "getutxid()\n"
365 "getutxline()\n"
366 "gmtime()\n"
367 "hcreate()\n"
368 "hdestroy()\n"
369 "hsearch()\n"
370 "inet_ntoa()\n"
371 "l64a()\n"
372 "lgamma()\n"
373 "lgammaf()\n"
374 "lgammal()\n"
375 "localeconv()\n"
376 "localtime()\n"
377 "lrand48()\n"
378 "mrand48()\n"
379 "nftw()\n"
380 "nl_langinfo()\n"
381 "ptsname()\n"
382 "putc_unlocked()\n"
383 "putchar_unlocked()\n"
384 "putenv()\n"
385 "pututxline()\n"
386 "rand()\n"
387 "readdir()\n"
388 "setenv()\n"
389 "setgrent()\n"
390 "setkey()\n"
391 "setpwent()\n"
392 "setutxent()\n"
393 "strerror()\n"
394 "strsignal() [Added in POSIX.1-2008]\n"
395 "strtok()\n"
396 "system() [Added in POSIX.1-2008]\n"
397 "tmpnam() if passed a non-NULL argument\n"
398 "ttyname()\n"
399 "unsetenv()\n"
400 "wcrtomb() if its final argument is NULL\n"
401 "wcsrtombs() if its final argument is NULL\n"
402 "wcstombs()\n"
403 "wctomb()\n"
404 msgstr ""
405
406 #. type: SS
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "Async-cancel-safe functions"
411 msgstr ""
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid ""
417 "An async-cancel-safe function is one that can be safely called in an "
418 "application where asynchronous cancelability is enabled (see "
419 "B<pthread_setcancelstate>(3))."
420 msgstr ""
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 msgid ""
426 "Only the following functions are required to be async-cancel-safe by "
427 "POSIX.1-2001 and POSIX.1-2008:"
428 msgstr ""
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 #, no-wrap
434 msgid ""
435 "pthread_cancel()\n"
436 "pthread_setcancelstate()\n"
437 "pthread_setcanceltype()\n"
438 msgstr ""
439
440 #. type: SS
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "Cancelation points"
445 msgstr ""
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 msgid ""
451 "POSIX.1 specifies that certain functions must, and certain other functions "
452 "may, be cancelation points. If a thread is cancelable, its cancelability "
453 "type is deferred, and a cancelation request is pending for the thread, then "
454 "the thread is canceled when it calls a function that is a cancelation point."
455 msgstr ""
456
457 #. type: Plain text
458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
460 msgid ""
461 "The following functions are required to be cancelation points by "
462 "POSIX.1-2001 and/or POSIX.1-2008:"
463 msgstr ""
464
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 #, no-wrap
469 msgid ""
470 "accept()\n"
471 "aio_suspend()\n"
472 "clock_nanosleep()\n"
473 "close()\n"
474 "connect()\n"
475 "creat()\n"
476 "fcntl() F_SETLKW\n"
477 "fdatasync()\n"
478 "fsync()\n"
479 "getmsg()\n"
480 "getpmsg()\n"
481 "lockf() F_LOCK\n"
482 "mq_receive()\n"
483 "mq_send()\n"
484 "mq_timedreceive()\n"
485 "mq_timedsend()\n"
486 "msgrcv()\n"
487 "msgsnd()\n"
488 "msync()\n"
489 "nanosleep()\n"
490 "open()\n"
491 "openat() [Added in POSIX.1-2008]\n"
492 "pause()\n"
493 "poll()\n"
494 "pread()\n"
495 "pselect()\n"
496 "pthread_cond_timedwait()\n"
497 "pthread_cond_wait()\n"
498 "pthread_join()\n"
499 "pthread_testcancel()\n"
500 "putmsg()\n"
501 "putpmsg()\n"
502 "pwrite()\n"
503 "read()\n"
504 "readv()\n"
505 "recv()\n"
506 "recvfrom()\n"
507 "recvmsg()\n"
508 "select()\n"
509 "sem_timedwait()\n"
510 "sem_wait()\n"
511 "send()\n"
512 "sendmsg()\n"
513 "sendto()\n"
514 "sigpause() [POSIX.1-2001 only (moves to \"may\" list in POSIX.1-2008)]\n"
515 "sigsuspend()\n"
516 "sigtimedwait()\n"
517 "sigwait()\n"
518 "sigwaitinfo()\n"
519 "sleep()\n"
520 "system()\n"
521 "tcdrain()\n"
522 "usleep() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n"
523 "wait()\n"
524 "waitid()\n"
525 "waitpid()\n"
526 "write()\n"
527 "writev()\n"
528 msgstr ""
529
530 #. type: Plain text
531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
533 msgid ""
534 "The following functions may be cancelation points according to POSIX.1-2001 "
535 "and/or POSIX.1-2008:"
536 msgstr ""
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 #, no-wrap
542 msgid ""
543 "access()\n"
544 "asctime()\n"
545 "asctime_r()\n"
546 "catclose()\n"
547 "catgets()\n"
548 "catopen()\n"
549 "chmod() [Added in POSIX.1-2008]\n"
550 "chown() [Added in POSIX.1-2008]\n"
551 "closedir()\n"
552 "closelog()\n"
553 "ctermid()\n"
554 "ctime()\n"
555 "ctime_r()\n"
556 "dbm_close()\n"
557 "dbm_delete()\n"
558 "dbm_fetch()\n"
559 "dbm_nextkey()\n"
560 "dbm_open()\n"
561 "dbm_store()\n"
562 "dlclose()\n"
563 "dlopen()\n"
564 "dprintf() [Added in POSIX.1-2008]\n"
565 "endgrent()\n"
566 "endhostent()\n"
567 "endnetent()\n"
568 "endprotoent()\n"
569 "endpwent()\n"
570 "endservent()\n"
571 "endutxent()\n"
572 "faccessat() [Added in POSIX.1-2008]\n"
573 "fchmod() [Added in POSIX.1-2008]\n"
574 "fchmodat() [Added in POSIX.1-2008]\n"
575 "fchown() [Added in POSIX.1-2008]\n"
576 "fchownat() [Added in POSIX.1-2008]\n"
577 "fclose()\n"
578 "fcntl() (for any value of cmd argument)\n"
579 "fflush()\n"
580 "fgetc()\n"
581 "fgetpos()\n"
582 "fgets()\n"
583 "fgetwc()\n"
584 "fgetws()\n"
585 "fmtmsg()\n"
586 "fopen()\n"
587 "fpathconf()\n"
588 "fprintf()\n"
589 "fputc()\n"
590 "fputs()\n"
591 "fputwc()\n"
592 "fputws()\n"
593 "fread()\n"
594 "freopen()\n"
595 "fscanf()\n"
596 "fseek()\n"
597 "fseeko()\n"
598 "fsetpos()\n"
599 "fstat()\n"
600 "fstatat() [Added in POSIX.1-2008]\n"
601 "ftell()\n"
602 "ftello()\n"
603 "ftw()\n"
604 "futimens() [Added in POSIX.1-2008]\n"
605 "fwprintf()\n"
606 "fwrite()\n"
607 "fwscanf()\n"
608 "getaddrinfo()\n"
609 "getc()\n"
610 "getc_unlocked()\n"
611 "getchar()\n"
612 "getchar_unlocked()\n"
613 "getcwd()\n"
614 "getdate()\n"
615 "getdelim() [Added in POSIX.1-2008]\n"
616 "getgrent()\n"
617 "getgrgid()\n"
618 "getgrgid_r()\n"
619 "getgrnam()\n"
620 "getgrnam_r()\n"
621 "gethostbyaddr() [POSIX.1-2001 only (function removed in\n"
622 " POSIX.1-2008)]\n"
623 "gethostbyname() [POSIX.1-2001 only (function removed in\n"
624 " POSIX.1-2008)]\n"
625 "gethostent()\n"
626 "gethostid()\n"
627 "gethostname()\n"
628 "getline() [Added in POSIX.1-2008]\n"
629 "getlogin()\n"
630 "getlogin_r()\n"
631 "getnameinfo()\n"
632 "getnetbyaddr()\n"
633 "getnetbyname()\n"
634 "getnetent()\n"
635 "getopt() (if opterr is nonzero)\n"
636 "getprotobyname()\n"
637 "getprotobynumber()\n"
638 "getprotoent()\n"
639 "getpwent()\n"
640 "getpwnam()\n"
641 "getpwnam_r()\n"
642 "getpwuid()\n"
643 "getpwuid_r()\n"
644 "gets()\n"
645 "getservbyname()\n"
646 "getservbyport()\n"
647 "getservent()\n"
648 "getutxent()\n"
649 "getutxid()\n"
650 "getutxline()\n"
651 "getwc()\n"
652 "getwchar()\n"
653 "getwd() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n"
654 "glob()\n"
655 "iconv_close()\n"
656 "iconv_open()\n"
657 "ioctl()\n"
658 "link()\n"
659 "linkat() [Added in POSIX.1-2008]\n"
660 "lio_listio() [Added in POSIX.1-2008]\n"
661 "localtime()\n"
662 "localtime_r()\n"
663 "lockf() [Added in POSIX.1-2008]\n"
664 "lseek()\n"
665 "lstat()\n"
666 "mkdir() [Added in POSIX.1-2008]\n"
667 "mkdirat() [Added in POSIX.1-2008]\n"
668 "mkdtemp() [Added in POSIX.1-2008]\n"
669 "mkfifo() [Added in POSIX.1-2008]\n"
670 "mkfifoat() [Added in POSIX.1-2008]\n"
671 "mknod() [Added in POSIX.1-2008]\n"
672 "mknodat() [Added in POSIX.1-2008]\n"
673 "mkstemp()\n"
674 "mktime()\n"
675 "nftw()\n"
676 "opendir()\n"
677 "openlog()\n"
678 "pathconf()\n"
679 "pclose()\n"
680 "perror()\n"
681 "popen()\n"
682 "posix_fadvise()\n"
683 "posix_fallocate()\n"
684 "posix_madvise()\n"
685 "posix_openpt()\n"
686 "posix_spawn()\n"
687 "posix_spawnp()\n"
688 "posix_trace_clear()\n"
689 "posix_trace_close()\n"
690 "posix_trace_create()\n"
691 "posix_trace_create_withlog()\n"
692 "posix_trace_eventtypelist_getnext_id()\n"
693 "posix_trace_eventtypelist_rewind()\n"
694 "posix_trace_flush()\n"
695 "posix_trace_get_attr()\n"
696 "posix_trace_get_filter()\n"
697 "posix_trace_get_status()\n"
698 "posix_trace_getnext_event()\n"
699 "posix_trace_open()\n"
700 "posix_trace_rewind()\n"
701 "posix_trace_set_filter()\n"
702 "posix_trace_shutdown()\n"
703 "posix_trace_timedgetnext_event()\n"
704 "posix_typed_mem_open()\n"
705 "printf()\n"
706 "psiginfo() [Added in POSIX.1-2008]\n"
707 "psignal() [Added in POSIX.1-2008]\n"
708 "pthread_rwlock_rdlock()\n"
709 "pthread_rwlock_timedrdlock()\n"
710 "pthread_rwlock_timedwrlock()\n"
711 "pthread_rwlock_wrlock()\n"
712 "putc()\n"
713 "putc_unlocked()\n"
714 "putchar()\n"
715 "putchar_unlocked()\n"
716 "puts()\n"
717 "pututxline()\n"
718 "putwc()\n"
719 "putwchar()\n"
720 "readdir()\n"
721 "readdir_r()\n"
722 "readlink() [Added in POSIX.1-2008]\n"
723 "readlinkat() [Added in POSIX.1-2008]\n"
724 "remove()\n"
725 "rename()\n"
726 "renameat() [Added in POSIX.1-2008]\n"
727 "rewind()\n"
728 "rewinddir()\n"
729 "scandir() [Added in POSIX.1-2008]\n"
730 "scanf()\n"
731 "seekdir()\n"
732 "semop()\n"
733 "setgrent()\n"
734 "sethostent()\n"
735 "setnetent()\n"
736 "setprotoent()\n"
737 "setpwent()\n"
738 "setservent()\n"
739 "setutxent()\n"
740 "sigpause() [Added in POSIX.1-2008]\n"
741 "stat()\n"
742 "strerror()\n"
743 "strerror_r()\n"
744 "strftime()\n"
745 "symlink()\n"
746 "symlinkat() [Added in POSIX.1-2008]\n"
747 "sync()\n"
748 "syslog()\n"
749 "tmpfile()\n"
750 "tmpnam()\n"
751 "ttyname()\n"
752 "ttyname_r()\n"
753 "tzset()\n"
754 "ungetc()\n"
755 "ungetwc()\n"
756 "unlink()\n"
757 "unlinkat() [Added in POSIX.1-2008]\n"
758 "utime() [Added in POSIX.1-2008]\n"
759 "utimensat() [Added in POSIX.1-2008]\n"
760 "utimes() [Added in POSIX.1-2008]\n"
761 "vdprintf() [Added in POSIX.1-2008]\n"
762 "vfprintf()\n"
763 "vfwprintf()\n"
764 "vprintf()\n"
765 "vwprintf()\n"
766 "wcsftime()\n"
767 "wordexp()\n"
768 "wprintf()\n"
769 "wscanf()\n"
770 msgstr ""
771
772 #. type: Plain text
773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
775 msgid ""
776 "An implementation may also mark other functions not specified in the "
777 "standard as cancelation points. In particular, an implementation is likely "
778 "to mark any nonstandard function that may block as a cancelation point. "
779 "(This includes most functions that can touch files.)"
780 msgstr ""
781
782 #. So, scanning "cancelation point" comments in the glibc 2.8 header
783 #. files, it looks as though at least the following nonstandard
784 #. functions are cancelation points:
785 #. endnetgrent
786 #. endspent
787 #. epoll_pwait
788 #. epoll_wait
789 #. fcloseall
790 #. fdopendir
791 #. fflush_unlocked
792 #. fgetc_unlocked
793 #. fgetgrent
794 #. fgetgrent_r
795 #. fgetpwent
796 #. fgetpwent_r
797 #. fgets_unlocked
798 #. fgetspent
799 #. fgetspent_r
800 #. fgetwc_unlocked
801 #. fgetws_unlocked
802 #. fputc_unlocked
803 #. fputs_unlocked
804 #. fputwc_unlocked
805 #. fputws_unlocked
806 #. fread_unlocked
807 #. fwrite_unlocked
808 #. gai_suspend
809 #. getaddrinfo_a
810 #. getdate_r
811 #. getgrent_r
812 #. getgrouplist
813 #. gethostbyaddr_r
814 #. gethostbyname2
815 #. gethostbyname2_r
816 #. gethostbyname_r
817 #. gethostent_r
818 #. getnetbyaddr_r
819 #. getnetbyname_r
820 #. getnetent_r
821 #. getnetgrent
822 #. getnetgrent_r
823 #. getprotobyname_r
824 #. getprotobynumber_r
825 #. getprotoent_r
826 #. getpw
827 #. getpwent_r
828 #. getservbyname_r
829 #. getservbyport_r
830 #. getservent_r
831 #. getspent
832 #. getspent_r
833 #. getspnam
834 #. getspnam_r
835 #. getutmp
836 #. getutmpx
837 #. getw
838 #. getwc_unlocked
839 #. getwchar_unlocked
840 #. initgroups
841 #. innetgr
842 #. mkostemp
843 #. mkostemp64
844 #. mkstemp64
845 #. ppoll
846 #. pthread_timedjoin_np
847 #. putgrent
848 #. putpwent
849 #. putspent
850 #. putw
851 #. putwc_unlocked
852 #. putwchar_unlocked
853 #. rcmd
854 #. rcmd_af
855 #. rexec
856 #. rexec_af
857 #. rresvport
858 #. rresvport_af
859 #. ruserok
860 #. ruserok_af
861 #. setnetgrent
862 #. setspent
863 #. sgetspent
864 #. sgetspent_r
865 #. updwtmpx
866 #. utmpxname
867 #. vfscanf
868 #. vfwscanf
869 #. vscanf
870 #. vsyslog
871 #. vwscanf
872 #. type: Plain text
873 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
874 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
875 msgid ""
876 "It should be noted that even if an application is not using asynchronous "
877 "cancelation, that calling a function from the above list from an "
878 "asynchronous signal handler may cause the equivalent of asynchronous "
879 "cancelation. The underlying user code may not expect asynchronous "
880 "cancelation and the state of the user data may become inconsistent. "
881 "Therefore signals should be used with caution when entering a region of "
882 "deferred cancelation."
883 msgstr ""
884
885 #. type: SS
886 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
887 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
888 #, no-wrap
889 msgid "Compiling on Linux"
890 msgstr ""
891
892 #. type: Plain text
893 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
894 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
895 msgid ""
896 "On Linux, programs that use the Pthreads API should be compiled using I<cc "
897 "-pthread>."
898 msgstr ""
899
900 #. type: SS
901 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
902 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
903 #, no-wrap
904 msgid "Linux implementations of POSIX threads"
905 msgstr ""
906
907 #. type: Plain text
908 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
909 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
910 msgid ""
911 "Over time, two threading implementations have been provided by the GNU C "
912 "library on Linux:"
913 msgstr ""
914
915 #. type: TP
916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
917 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
918 #, no-wrap
919 msgid "B<LinuxThreads>"
920 msgstr ""
921
922 #. type: Plain text
923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
925 msgid ""
926 "This is the original Pthreads implementation. Since glibc 2.4, this "
927 "implementation is no longer supported."
928 msgstr ""
929
930 #. type: TP
931 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
932 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
933 #, no-wrap
934 msgid "B<NPTL> (Native POSIX Threads Library)"
935 msgstr ""
936
937 #. type: Plain text
938 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
939 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
940 msgid ""
941 "This is the modern Pthreads implementation. By comparison with "
942 "LinuxThreads, NPTL provides closer conformance to the requirements of the "
943 "POSIX.1 specification and better performance when creating large numbers of "
944 "threads. NPTL is available since glibc 2.3.2, and requires features that "
945 "are present in the Linux 2.6 kernel."
946 msgstr ""
947
948 #. type: Plain text
949 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
950 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
951 msgid ""
952 "Both of these are so-called 1:1 implementations, meaning that each thread "
953 "maps to a kernel scheduling entity. Both threading implementations employ "
954 "the Linux B<clone>(2) system call. In NPTL, thread synchronization "
955 "primitives (mutexes, thread joining, and so on) are implemented using the "
956 "Linux B<futex>(2) system call."
957 msgstr ""
958
959 #. type: SS
960 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
961 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
962 #, no-wrap
963 msgid "LinuxThreads"
964 msgstr ""
965
966 #. type: Plain text
967 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
968 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
969 msgid "The notable features of this implementation are the following:"
970 msgstr ""
971
972 #. type: Plain text
973 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
974 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
975 msgid ""
976 "In addition to the main (initial) thread, and the threads that the program "
977 "creates using B<pthread_create>(3), the implementation creates a \"manager\" "
978 "thread. This thread handles thread creation and termination. (Problems can "
979 "result if this thread is inadvertently killed.)"
980 msgstr ""
981
982 #. type: Plain text
983 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
984 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
985 msgid ""
986 "Signals are used internally by the implementation. On Linux 2.2 and later, "
987 "the first three real-time signals are used (see also B<signal>(7)). On "
988 "older Linux kernels, B<SIGUSR1> and B<SIGUSR2> are used. Applications must "
989 "avoid the use of whichever set of signals is employed by the implementation."
990 msgstr ""
991
992 #. type: Plain text
993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
995 msgid ""
996 "Threads do not share process IDs. (In effect, LinuxThreads threads are "
997 "implemented as processes which share more information than usual, but which "
998 "do not share a common process ID.) LinuxThreads threads (including the "
999 "manager thread) are visible as separate processes using B<ps>(1)."
1000 msgstr ""
1001
1002 #. type: Plain text
1003 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1004 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1005 msgid ""
1006 "The LinuxThreads implementation deviates from the POSIX.1 specification in a "
1007 "number of ways, including the following:"
1008 msgstr ""
1009
1010 #. type: Plain text
1011 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1012 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1013 msgid "Calls to B<getpid>(2) return a different value in each thread."
1014 msgstr ""
1015
1016 #. type: Plain text
1017 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1018 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1019 msgid ""
1020 "Calls to B<getppid>(2) in threads other than the main thread return the "
1021 "process ID of the manager thread; instead B<getppid>(2) in these threads "
1022 "should return the same value as B<getppid>(2) in the main thread."
1023 msgstr ""
1024
1025 #. type: Plain text
1026 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1027 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1028 msgid ""
1029 "When one thread creates a new child process using B<fork>(2), any thread "
1030 "should be able to B<wait>(2) on the child. However, the implementation "
1031 "allows only the thread that created the child to B<wait>(2) on it."
1032 msgstr ""
1033
1034 #. type: Plain text
1035 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1036 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1037 msgid ""
1038 "When a thread calls B<execve>(2), all other threads are terminated (as "
1039 "required by POSIX.1). However, the resulting process has the same PID as "
1040 "the thread that called B<execve>(2): it should have the same PID as the main "
1041 "thread."
1042 msgstr ""
1043
1044 #. type: Plain text
1045 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1046 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1047 msgid ""
1048 "Threads do not share user and group IDs. This can cause complications with "
1049 "set-user-ID programs and can cause failures in Pthreads functions if an "
1050 "application changes its credentials using B<seteuid>(2) or similar."
1051 msgstr ""
1052
1053 #. type: Plain text
1054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1055 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1056 msgid "Threads do not share a common session ID and process group ID."
1057 msgstr ""
1058
1059 #. type: Plain text
1060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1062 msgid "Threads do not share record locks created using B<fcntl>(2)."
1063 msgstr ""
1064
1065 #. type: Plain text
1066 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1067 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1068 msgid ""
1069 "The information returned by B<times>(2) and B<getrusage>(2) is per-thread "
1070 "rather than process-wide."
1071 msgstr ""
1072
1073 #. type: Plain text
1074 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1075 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1076 msgid "Threads do not share semaphore undo values (see B<semop>(2))."
1077 msgstr ""
1078
1079 #. type: Plain text
1080 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1081 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1082 msgid "Threads do not share interval timers."
1083 msgstr ""
1084
1085 #. FIXME . bug report filed for NPTL nice nonconformance
1086 #. http://bugzilla.kernel.org/show_bug.cgi?id=6258
1087 #. Sep 08: there is a patch by Denys Vlasenko to address this
1088 #. "make setpriority POSIX compliant; introduce PRIO_THREAD extension"
1089 #. Monitor this to see if it makes it into mainline.
1090 #. type: Plain text
1091 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1092 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1093 msgid "Threads do not share a common nice value."
1094 msgstr ""
1095
1096 #. type: Plain text
1097 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1098 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1099 msgid ""
1100 "POSIX.1 distinguishes the notions of signals that are directed to the "
1101 "process as a whole and signals that are directed to individual threads. "
1102 "According to POSIX.1, a process-directed signal (sent using B<kill>(2), for "
1103 "example) should be handled by a single, arbitrarily selected thread within "
1104 "the process. LinuxThreads does not support the notion of process-directed "
1105 "signals: signals may be sent only to specific threads."
1106 msgstr ""
1107
1108 #. type: Plain text
1109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1111 msgid ""
1112 "Threads have distinct alternate signal stack settings. However, a new "
1113 "thread's alternate signal stack settings are copied from the thread that "
1114 "created it, so that the threads initially share an alternate signal stack. "
1115 "(A new thread should start with no alternate signal stack defined. If two "
1116 "threads handle signals on their shared alternate signal stack at the same "
1117 "time, unpredictable program failures are likely to occur.)"
1118 msgstr ""
1119
1120 #. type: SS
1121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1123 #, no-wrap
1124 msgid "NPTL"
1125 msgstr ""
1126
1127 #. type: Plain text
1128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1130 msgid ""
1131 "With NPTL, all of the threads in a process are placed in the same thread "
1132 "group; all members of a thread group share the same PID. NPTL does not "
1133 "employ a manager thread."
1134 msgstr ""
1135
1136 #. type: Plain text
1137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1139 msgid ""
1140 "NPTL makes internal use of the first two real-time signals; these signals "
1141 "cannot be used in applications. See B<nptl>(7) for further details."
1142 msgstr ""
1143
1144 #. type: Plain text
1145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1147 msgid "NPTL still has at least one nonconformance with POSIX.1:"
1148 msgstr ""
1149
1150 #. type: Plain text
1151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1153 msgid "Some NPTL nonconformances occur only with older kernels:"
1154 msgstr ""
1155
1156 #. type: Plain text
1157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1159 msgid ""
1160 "The information returned by B<times>(2) and B<getrusage>(2) is per-thread "
1161 "rather than process-wide (fixed in Linux 2.6.9)."
1162 msgstr ""
1163
1164 #. type: Plain text
1165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1167 msgid "Threads do not share resource limits (fixed in Linux 2.6.10)."
1168 msgstr ""
1169
1170 #. type: Plain text
1171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1173 msgid "Threads do not share interval timers (fixed in Linux 2.6.12)."
1174 msgstr ""
1175
1176 #. type: Plain text
1177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1179 msgid ""
1180 "Only the main thread is permitted to start a new session using B<setsid>(2) "
1181 "(fixed in Linux 2.6.16)."
1182 msgstr ""
1183
1184 #. type: Plain text
1185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1187 msgid ""
1188 "Only the main thread is permitted to make the process into a process group "
1189 "leader using B<setpgid>(2) (fixed in Linux 2.6.16)."
1190 msgstr ""
1191
1192 #. type: Plain text
1193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1195 msgid ""
1196 "Threads have distinct alternate signal stack settings. However, a new "
1197 "thread's alternate signal stack settings are copied from the thread that "
1198 "created it, so that the threads initially share an alternate signal stack "
1199 "(fixed in Linux 2.6.16)."
1200 msgstr ""
1201
1202 #. type: Plain text
1203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1205 msgid "Note the following further points about the NPTL implementation:"
1206 msgstr ""
1207
1208 #. type: Plain text
1209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1211 msgid ""
1212 "If the stack size soft resource limit (see the description of "
1213 "B<RLIMIT_STACK> in B<setrlimit>(2)) is set to a value other than "
1214 "I<unlimited>, then this value defines the default stack size for new "
1215 "threads. To be effective, this limit must be set before the program is "
1216 "executed, perhaps using the I<ulimit -s> shell built-in command (I<limit "
1217 "stacksize> in the C shell)."
1218 msgstr ""
1219
1220 #. type: SS
1221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1223 #, no-wrap
1224 msgid "Determining the threading implementation"
1225 msgstr ""
1226
1227 #. type: Plain text
1228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1230 msgid ""
1231 "Since glibc 2.3.2, the B<getconf>(1) command can be used to determine the "
1232 "system's threading implementation, for example:"
1233 msgstr ""
1234
1235 #. type: Plain text
1236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1238 #, no-wrap
1239 msgid ""
1240 "bash$ getconf GNU_LIBPTHREAD_VERSION\n"
1241 "NPTL 2.3.4\n"
1242 msgstr ""
1243
1244 #. type: Plain text
1245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1247 msgid ""
1248 "With older glibc versions, a command such as the following should be "
1249 "sufficient to determine the default threading implementation:"
1250 msgstr ""
1251
1252 #. type: Plain text
1253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1255 #, no-wrap
1256 msgid ""
1257 "bash$ $( ldd /bin/ls | grep libc.so | awk \\[aq]{print $3}\\[aq] ) | \\[rs]\n"
1258 " egrep -i \\[aq]threads|nptl\\[aq]\n"
1259 " Native POSIX Threads Library by Ulrich Drepper et al\n"
1260 msgstr ""
1261
1262 #. type: SS
1263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1265 #, no-wrap
1266 msgid "Selecting the threading implementation: LD_ASSUME_KERNEL"
1267 msgstr ""
1268
1269 #. type: Plain text
1270 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1271 #: opensuse-tumbleweed
1272 msgid ""
1273 "On systems with a glibc that supports both LinuxThreads and NPTL (i.e., "
1274 "glibc 2.3.*), the B<LD_ASSUME_KERNEL> environment variable can be used to "
1275 "override the dynamic linker's default choice of threading implementation. "
1276 "This variable tells the dynamic linker to assume that it is running on top "
1277 "of a particular kernel version. By specifying a kernel version that does "
1278 "not provide the support required by NPTL, we can force the use of "
1279 "LinuxThreads. (The most likely reason for doing this is to run a (broken) "
1280 "application that depends on some nonconformant behavior in LinuxThreads.) "
1281 "For example:"
1282 msgstr ""
1283
1284 #. type: Plain text
1285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1287 #, no-wrap
1288 msgid ""
1289 "bash$ $( LD_ASSUME_KERNEL=2.2.5 ldd /bin/ls | grep libc.so | \\[rs]\n"
1290 " awk \\[aq]{print $3}\\[aq] ) | egrep -i \\[aq]threads|nptl\\[aq]\n"
1291 " linuxthreads-0.10 by Xavier Leroy\n"
1292 msgstr ""
1293
1294 #. type: SH
1295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1297 #, no-wrap
1298 msgid "SEE ALSO"
1299 msgstr "VÉASE TAMBIÉN"
1300
1301 #. type: Plain text
1302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1304 msgid ""
1305 "B<clone>(2), B<fork>(2), B<futex>(2), B<gettid>(2), B<proc>(5), "
1306 "B<attributes>(7), B<futex>(7), B<nptl>(7), B<sigevent>(3type), B<signal>(7)"
1307 msgstr ""
1308
1309 #. type: Plain text
1310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1312 msgid ""
1313 "Various Pthreads manual pages, for example: B<pthread_atfork>(3), "
1314 "B<pthread_attr_init>(3), B<pthread_cancel>(3), B<pthread_cleanup_push>(3), "
1315 "B<pthread_cond_signal>(3), B<pthread_cond_wait>(3), B<pthread_create>(3), "
1316 "B<pthread_detach>(3), B<pthread_equal>(3), B<pthread_exit>(3), "
1317 "B<pthread_key_create>(3), B<pthread_kill>(3), B<pthread_mutex_lock>(3), "
1318 "B<pthread_mutex_unlock>(3), B<pthread_mutexattr_destroy>(3), "
1319 "B<pthread_mutexattr_init>(3), B<pthread_once>(3), B<pthread_spin_init>(3), "
1320 "B<pthread_spin_lock>(3), B<pthread_rwlockattr_setkind_np>(3), "
1321 "B<pthread_setcancelstate>(3), B<pthread_setcanceltype>(3), "
1322 "B<pthread_setspecific>(3), B<pthread_sigmask>(3), B<pthread_sigqueue>(3), "
1323 "and B<pthread_testcancel>(3)"
1324 msgstr ""
1325
1326 #. type: TH
1327 #: debian-trixie fedora-44 fedora-rawhide
1328 #, no-wrap
1329 msgid "2024-06-15"
1330 msgstr "15 Junio 2024"
1331
1332 #. type: TH
1333 #: debian-trixie
1334 #, no-wrap
1335 msgid "Linux man-pages 6.9.1"
1336 msgstr "Páginas de Manual de Linux 6.9.1"
1337
1338 #. type: Plain text
1339 #: debian-trixie fedora-44 fedora-rawhide
1340 msgid ""
1341 "On systems with a glibc that supports both LinuxThreads and NPTL (i.e., "
1342 "glibc 2.3.I<x>), the B<LD_ASSUME_KERNEL> environment variable can be used to "
1343 "override the dynamic linker's default choice of threading implementation. "
1344 "This variable tells the dynamic linker to assume that it is running on top "
1345 "of a particular kernel version. By specifying a kernel version that does "
1346 "not provide the support required by NPTL, we can force the use of "
1347 "LinuxThreads. (The most likely reason for doing this is to run a (broken) "
1348 "application that depends on some nonconformant behavior in LinuxThreads.) "
1349 "For example:"
1350 msgstr ""
1351
1352 #. type: TH
1353 #: fedora-44 fedora-rawhide
1354 #, no-wrap
1355 msgid "Linux man-pages 6.13"
1356 msgstr "Páginas de Manual de Linux 6.13"
1357
1358 #. type: TH
1359 #: mageia-cauldron
1360 #, no-wrap
1361 msgid "Linux man-pages 6.17"
1362 msgstr "Páginas de Manual de Linux 6.17"
1363
1364 #. type: TH
1365 #: opensuse-leap-16-1 opensuse-tumbleweed
1366 #, no-wrap
1367 msgid "Linux man-pages (unreleased)"
1368 msgstr "Páginas de Manual de Linux (no publicadas)"