Debian Codegraph @

po/ru/man3/pthread_create.3.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Alexey, 2016.
5 # Azamat Hackimov <[email protected]>, 2014-2017.
6 # kogamatranslator49 <[email protected]>, 2015.
7 # Darima Kogan <[email protected]>, 2014.
8 # Max Is <[email protected]>, 2016.
9 # Yuri Kozlov <[email protected]>, 2011-2019.
10 # Иван Павлов <[email protected]>, 2017.
11 msgid ""
12 msgstr ""
13 "Project-Id-Version: manpages-l10n\n"
14 "POT-Creation-Date: 2026-06-05 06:38+0200\n"
15 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
16 "Last-Translator: Yuri Kozlov <[email protected]>\n"
17 "Language-Team: Russian <[email protected]>\n"
18 "Language: ru\n"
19 "MIME-Version: 1.0\n"
20 "Content-Type: text/plain; charset=UTF-8\n"
21 "Content-Transfer-Encoding: 8bit\n"
22 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
23 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
24 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
25 "X-Generator: Lokalize 2.0\n"
26
27 #. type: TH
28 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
29 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
30 #, fuzzy, no-wrap
31 #| msgid "B<pthread_create>()"
32 msgid "pthread_create"
33 msgstr "B<pthread_create>()"
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2026-02-10"
40 msgstr "10 февраля 2026 г."
41
42 #. type: TH
43 #: archlinux debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "Linux man-pages 6.17"
46 msgid "Linux man-pages 6.18"
47 msgstr "Справочные страницы Linux 6.17"
48
49 #. type: SH
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, no-wrap
53 msgid "NAME"
54 msgstr "НАИМЕНОВАНИЕ"
55
56 #. type: Plain text
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 msgid "pthread_create - create a new thread"
60 msgstr "pthread_create - создаёт новую нить"
61
62 #. type: SH
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 #, no-wrap
66 msgid "LIBRARY"
67 msgstr "БИБЛИОТЕКА"
68
69 #. type: Plain text
70 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
71 #: opensuse-leap-16-1 opensuse-tumbleweed
72 msgid "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
73 msgstr "Библиотека потоков POSIX (I<libpthread>,\\ I<-lpthread>)"
74
75 #. type: SH
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "SYNOPSIS"
80 msgstr "СИНТАКСИС"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<#include E<lt>pthread.hE<gt>>\n"
87 msgstr "B<#include E<lt>pthread.hE<gt>>\n"
88
89 #. type: Plain text
90 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
91 #: opensuse-tumbleweed
92 #, fuzzy, no-wrap
93 #| msgid ""
94 #| "B<int pthread_create(pthread_t *>I<thread>B<, const pthread_attr_t *>I<attr>B<,>\n"
95 #| "B< void *(*>I<start_routine>B<) (void *), void *>I<arg>B<);>\n"
96 msgid ""
97 "B<int pthread_create(pthread_t *restrict >I<thread>B<,>\n"
98 "B< const pthread_attr_t *_Nullable restrict >I<attr>B<,>\n"
99 "B< typeof(void *(void *_Nullable)) *>I<start_routine>B<,>\n"
100 "B< void *_Nullable restrict >I<arg>B<);>\n"
101 msgstr ""
102 "B<int pthread_create(pthread_t *>I<thread>B<, const pthread_attr_t *>I<attr>B<,>\n"
103 "B< void *(*>I<start_routine>B<) (void *), void *>I<arg>B<);>\n"
104
105 #. type: SH
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid "DESCRIPTION"
110 msgstr "ОПИСАНИЕ"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid ""
116 "The B<pthread_create>() function starts a new thread in the calling "
117 "process. The new thread starts execution by invoking I<start_routine>(); "
118 "I<arg> is passed as the sole argument of I<start_routine>()."
119 msgstr ""
120 "Функция B<pthread_create>() запускает новую нить в вызвавшем процессе. Новая "
121 "нить начинает выполнение вызовом I<start_routine>(); значение I<arg> "
122 "является единственным аргументом I<start_routine>()."
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid "The new thread terminates in one of the following ways:"
128 msgstr "Новая нить завершает работу в одном из следующих случаев:"
129
130 #. type: IP
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 #, no-wrap
134 msgid "\\[bu]"
135 msgstr "\\[bu]"
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 "It calls B<pthread_exit>(3), specifying an exit status value that is "
142 "available to another thread in the same process that calls "
143 "B<pthread_join>(3)."
144 msgstr ""
145 "Она вызывает B<pthread_exit>(3), указывая код выхода, доступное другой нити "
146 "в том же процессе, вызвавшей B<pthread_join>(3)."
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "It returns from I<start_routine>(). This is equivalent to calling "
153 "B<pthread_exit>(3) with the value supplied in the I<return> statement."
154 msgstr ""
155 "При возврате из I<start_routine>(). Это эквивалентно вызову "
156 "B<pthread_exit>(3) со значением, переданным в операторе I<return>."
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid "It is canceled (see B<pthread_cancel>(3))."
162 msgstr "При её отмене (смотрите B<pthread_cancel>(3))."
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "Any of the threads in the process calls B<exit>(3), or the main thread "
169 "performs a return from I<main>(). This causes the termination of all "
170 "threads in the process."
171 msgstr ""
172 "При вызове из любой нити процесса функции B<exit>(3), или если главная нить "
173 "выполняет возврат из I<main>(). Это вызывает завершение всех нитей процесса."
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "The I<attr> argument points to a I<pthread_attr_t> structure whose contents "
180 "are used at thread creation time to determine attributes for the new thread; "
181 "this structure is initialized using B<pthread_attr_init>(3) and related "
182 "functions. If I<attr> is NULL, then the thread is created with default "
183 "attributes."
184 msgstr ""
185 "Аргумент I<attr> указывает на структуру I<pthread_attr_t>, чьё содержимое "
186 "используется при создании нити для определения атрибутов новой нити; эта "
187 "структура инициализируется с помощью B<pthread_attr_init>(3) и подобными "
188 "функциями. Если значение I<attr> равно NULL, то нити создаётся с атрибутами "
189 "по умолчанию."
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 ""
195 "Before returning, a successful call to B<pthread_create>() stores the ID of "
196 "the new thread in the buffer pointed to by I<thread>; this identifier is "
197 "used to refer to the thread in subsequent calls to other pthreads functions."
198 msgstr ""
199 "Перед возвратом успешный вызов B<pthread_create>() сохраняет ID новой нити в "
200 "буфер, на который указывает I<thread>; этот идентификатор используется для "
201 "ссылки на нить в последующих вызовах других функций pthreads."
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 ""
207 "The new thread inherits a copy of the creating thread's signal mask "
208 "(B<pthread_sigmask>(3)). The set of pending signals for the new thread is "
209 "empty (B<sigpending>(2)). The new thread does not inherit the creating "
210 "thread's alternate signal stack (B<sigaltstack>(2))."
211 msgstr ""
212 "Новая нить наследует копию сигнальной маски создавшей нити "
213 "(B<pthread_sigmask>(3)). Набор ожидающих сигналов новой нити пуст "
214 "(B<sigpending>(2)). Новая нить не наследует альтернативный стек сигналов "
215 "создавшей нити (B<sigaltstack>(2))."
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "The new thread inherits the calling thread's floating-point environment "
222 "(B<fenv>(3))."
223 msgstr ""
224 "Новая нить наследует окружение плавающей запятой вызвавшей нити (B<fenv>(3))."
225
226 #. CLOCK_THREAD_CPUTIME_ID in clock_gettime(2)
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid ""
231 "The initial value of the new thread's CPU-time clock is 0 (see "
232 "B<pthread_getcpuclockid>(3))."
233 msgstr ""
234 "Начальное значение часов ЦП новой нити равно 0 (смотрите "
235 "B<pthread_getcpuclockid>(3))."
236
237 #. type: SS
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "Linux-specific details"
242 msgstr "Информация, касающаяся только Linux"
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid ""
248 "The new thread inherits copies of the calling thread's capability sets (see "
249 "B<capabilities>(7)) and CPU affinity mask (see B<sched_setaffinity>(2))."
250 msgstr ""
251 "Новая нить наследует копию набора мандатов вызвавшей нити (смотрите "
252 "B<capabilities>(7)) и маску увязывания ЦП (смотрите B<sched_setaffinity>(2))."
253
254 #. type: SH
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "RETURN VALUE"
259 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "On success, B<pthread_create>() returns 0; on error, it returns an error "
266 "number, and the contents of I<*thread> are undefined."
267 msgstr ""
268 "При успешном выполнении B<pthread_create>() возвращается 0; при ошибке "
269 "возвращается номер ошибки, а содержимое I<*thread> не определено."
270
271 #. type: SH
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 #, no-wrap
275 msgid "ERRORS"
276 msgstr "ОШИБКИ"
277
278 #. type: TP
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "B<EAGAIN>"
283 msgstr "B<EAGAIN>"
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid "Insufficient resources to create another thread."
289 msgstr "Недостаточно ресурсов для создания другой нити."
290
291 #. NOTE! The following should match the description in fork(2)
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid ""
296 "A system-imposed limit on the number of threads was encountered. There are "
297 "a number of limits that may trigger this error: the B<RLIMIT_NPROC> soft "
298 "resource limit (set via B<setrlimit>(2)), which limits the number of "
299 "processes and threads for a real user ID, was reached; the kernel's system-"
300 "wide limit on the number of processes and threads, I</proc/sys/kernel/"
301 "threads-max>, was reached (see B<proc>(5)); or the maximum number of PIDs, "
302 "I</proc/sys/kernel/pid_max>, was reached (see B<proc>(5))."
303 msgstr ""
304 "Возникло системного ограничение на количество нитей. Есть несколько "
305 "ограничений, которые могут вызвать эту ошибку: был достигнут мягкий "
306 "ограничитель B<RLIMIT_NPROC> (задаётся с помощью B<setrlimit>(2)), который "
307 "ограничивает количество процессов и ните для реального ID пользователя; был "
308 "достигнут ядерный системный ограничитель на количество процессов и нитей, I</"
309 "proc/sys/kernel/threads-max> (смотрите B<proc>(5)); был достигнуто "
310 "максимальное количество PID, I</proc/sys/kernel/pid_max> (смотрите "
311 "B<proc>(5))."
312
313 #. type: TP
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid "B<EINVAL>"
318 msgstr "B<EINVAL>"
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 msgid "Invalid settings in I<attr>."
324 msgstr "Некорректные значения в I<attr>."
325
326 #. FIXME . Test the following
327 #. type: TP
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "B<EPERM>"
332 msgstr "B<EPERM>"
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid ""
338 "No permission to set the scheduling policy and parameters specified in "
339 "I<attr>."
340 msgstr ""
341 "Нет прав на изменение алгоритма планирования и параметров, указанных в "
342 "I<attr>."
343
344 #. type: SH
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "ATTRIBUTES"
349 msgstr "АТРИБУТЫ"
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid ""
355 "For an explanation of the terms used in this section, see B<attributes>(7)."
356 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
357
358 #. type: tbl table
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 #, no-wrap
362 msgid "Interface"
363 msgstr "Интерфейс"
364
365 #. type: tbl table
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid "Attribute"
370 msgstr "Атрибут"
371
372 #. type: tbl table
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "Value"
377 msgstr "Значение"
378
379 #. type: tbl table
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid ".na\n"
384 msgstr ".na\n"
385
386 #. type: tbl table
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid ".nh\n"
391 msgstr ".nh\n"
392
393 #. type: tbl table
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "B<pthread_create>()"
398 msgstr "B<pthread_create>()"
399
400 #. type: tbl table
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "Thread safety"
405 msgstr "Безвредность в нитях"
406
407 #. type: tbl table
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid "MT-Safe"
412 msgstr "MT-Safe"
413
414 #. type: SH
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "STANDARDS"
419 msgstr "СТАНДАРТЫ"
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 msgid "POSIX.1-2008."
425 msgstr "POSIX.1-2008."
426
427 #. type: SH
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, no-wrap
431 msgid "HISTORY"
432 msgstr "ИСТОРИЯ"
433
434 #. type: Plain text
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 msgid "POSIX.1-2001."
438 msgstr "POSIX.1-2001."
439
440 #. type: SH
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "NOTES"
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 #, fuzzy
451 #| msgid ""
452 #| "See B<pthread_self>(3) for further information on the thread ID returned "
453 #| "in I<*thread> by B<pthread_create>(). Unless real-time scheduling "
454 #| "policies are being employed, after a call to B<pthread_create>(), it is "
455 #| "indeterminate which thread\\(emthe caller or the new thread\\(emwill next "
456 #| "execute."
457 msgid ""
458 "See B<pthread_self>(3) for further information on the thread ID returned in "
459 "I<*thread> by B<pthread_create>(). Unless real-time scheduling policies are "
460 "being employed, after a call to B<pthread_create>(), it is indeterminate "
461 "which thread\\[em]the caller or the new thread\\[em]will next execute."
462 msgstr ""
463 "Дополнительную информацию об идентификаторе нити, возвращаемом "
464 "B<pthread_create>() в I<*thread> смотрите в B<pthread_self>(3). Если не "
465 "используются алгоритмы планирования реального времени после вызова "
466 "B<pthread_create>() невозможно сказать какая нить — создавшая или новая — "
467 "будет выполняться далее первой."
468
469 #. type: Plain text
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 msgid ""
473 "A thread may either be I<joinable> or I<detached>. If a thread is joinable, "
474 "then another thread can call B<pthread_join>(3) to wait for the thread to "
475 "terminate and fetch its exit status. Only when a terminated joinable thread "
476 "has been joined are the last of its resources released back to the system. "
477 "When a detached thread terminates, its resources are automatically released "
478 "back to the system: it is not possible to join with the thread in order to "
479 "obtain its exit status. Making a thread detached is useful for some types "
480 "of daemon threads whose exit status the application does not need to care "
481 "about. By default, a new thread is created in a joinable state, unless "
482 "I<attr> was set to create the thread in a detached state (using "
483 "B<pthread_attr_setdetachstate>(3))."
484 msgstr ""
485 "Нить может быть I<присоединяема> (joinable) или I<отключённой> (detached). "
486 "Если нить присоединяема, то другая нить может вызвать B<pthread_join>(3) для "
487 "ожидания завершения нити и получения её кода выхода. Освобождение ресурсов "
488 "обратно в систему у завершённой присоединяемой нити происходит только после "
489 "её присоединения. При завершении отключённой нити, её ресурсы автоматически "
490 "освобождаются обратно в систему: к ней невозможно присоединиться для "
491 "получения её кода выхода. Создание отключённых нитей полезно в некоторых "
492 "типах служебных нитей, чей код выхода не нужен приложению. По умолчанию "
493 "новая нить создаётся в присоединяемом состоянии, если в I<attr> не указано "
494 "создание нити в отключённом состоянии (с помощью "
495 "B<pthread_attr_setdetachstate>(3))."
496
497 #. type: Plain text
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 #, fuzzy
501 #| msgid ""
502 #| "Under the NPTL threading implementation, if the B<RLIMIT_STACK> soft "
503 #| "resource limit I<at the time the program started> has any value other "
504 #| "than \"unlimited\", then it determines the default stack size of new "
505 #| "threads. Using B<pthread_attr_setstacksize>(3), the stack size attribute "
506 #| "can be explicitly set in the I<attr> argument used to create a thread, in "
507 #| "order to obtain a stack size other than the default. If the "
508 #| "B<RLIMIT_STACK> resource limit is set to \"unlimited\", a per-"
509 #| "architecture value is used for the stack size. Here is the value for a "
510 #| "few architectures:"
511 msgid ""
512 "Under the NPTL threading implementation, if the B<RLIMIT_STACK> soft "
513 "resource limit I<at the time the program started> has any value other than "
514 "\"unlimited\", then it determines the default stack size of new threads. "
515 "Using B<pthread_attr_setstacksize>(3), the stack size attribute can be "
516 "explicitly set in the I<attr> argument used to create a thread, in order to "
517 "obtain a stack size other than the default. If the B<RLIMIT_STACK> resource "
518 "limit is set to \"unlimited\", a per-architecture value is used for the "
519 "stack size: 2 MB on most architectures; 4 MB on POWER and Sparc-64."
520 msgstr ""
521 "В реализации нитей NPTL, если мягкое ограничение ресурса B<RLIMIT_STACK> "
522 "I<в момент запуска программы> не равно «unlimited», то им задаётся размер "
523 "стека по умолчанию для новых нитей. Чтобы получить размер стека, отличный от "
524 "умолчательного при создании новой нити, можно изменить атрибут размера стека "
525 "в аргументе I<attr> с помощью B<pthread_attr_setstacksize>(3). Если ресурс "
526 "B<RLIMIT_STACK> равен «unlimited», то для размера используется значение, "
527 "определённое для архитектуры. Вот значения для некоторых архитектур:"
528
529 #. type: SH
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 #, no-wrap
533 msgid "BUGS"
534 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
535
536 #. type: Plain text
537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
539 msgid ""
540 "In the obsolete LinuxThreads implementation, each of the threads in a "
541 "process has a different process ID. This is in violation of the POSIX "
542 "threads specification, and is the source of many other nonconformances to "
543 "the standard; see B<pthreads>(7)."
544 msgstr ""
545 "В устаревшей реализации LinuxThreads каждая нить процесса имеет свой "
546 "неодинаковый ID процесса. Это нарушает спецификацию нитей POSIX и является "
547 "источником многих других несоответствий стандарту; смотрите B<pthreads>(7)."
548
549 #. type: SH
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 #, no-wrap
553 msgid "EXAMPLES"
554 msgstr "ПРИМЕРЫ"
555
556 #. type: Plain text
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 msgid ""
560 "The program below demonstrates the use of B<pthread_create>(), as well as a "
561 "number of other functions in the pthreads API."
562 msgstr ""
563 "Представленная ниже программа показывает использование B<pthread_create>(), "
564 "а также других функций программного интерфейса pthreads."
565
566 #. type: Plain text
567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
569 msgid ""
570 "In the following run, on a system providing the NPTL threading "
571 "implementation, the stack size defaults to the value given by the \"stack "
572 "size\" resource limit:"
573 msgstr ""
574 "В этом сеансе в системе с реализацией нитей NPTL размер стека по умолчанию "
575 "берётся из значения ограничения ресурса на «размер стека»:"
576
577 #. type: Plain text
578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
580 #, no-wrap
581 msgid ""
582 "$B< ulimit -s>\n"
583 "8192 # The stack size limit is 8 MB (0x800000 bytes)\n"
584 "$B< ./a.out hola salut servus>\n"
585 "Thread 1: top of stack near 0xb7dd03b8; argv_string=hola\n"
586 "Thread 2: top of stack near 0xb75cf3b8; argv_string=salut\n"
587 "Thread 3: top of stack near 0xb6dce3b8; argv_string=servus\n"
588 "Joined with thread 1; returned value was HOLA\n"
589 "Joined with thread 2; returned value was SALUT\n"
590 "Joined with thread 3; returned value was SERVUS\n"
591 msgstr ""
592 "$B< ulimit -s>\n"
593 "8192 # ограничение на размер стека 8 МБ (0x800000 байт)\n"
594 "$B< ./a.out hola salut servus>\n"
595 "Нить 1: вершина стека около 0xb7dd03b8; argv_string=hola\n"
596 "Нить 2: вершина стека около 0xb75cf3b8; argv_string=salut\n"
597 "Нить 3: вершина стека около 0xb6dce3b8; argv_string=servus\n"
598 "Присоединение нити 1; получено значение возврата HOLA\n"
599 "Присоединение нити 2; получено значение возврата SALUT\n"
600 "Присоединение нити 3; получено значение возврата SERVUS\n"
601
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 msgid ""
606 "In the next run, the program explicitly sets a stack size of 1\\ MB (using "
607 "B<pthread_attr_setstacksize>(3)) for the created threads:"
608 msgstr ""
609 "В этом сеансе программа явно устанавливает размер стека в 1\\ МБ (с помощью "
610 "B<pthread_attr_setstacksize>(3)) для создаваемых нитей:"
611
612 #. type: Plain text
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 #, no-wrap
616 msgid ""
617 "$B< ./a.out -s 0x100000 hola salut servus>\n"
618 "Thread 1: top of stack near 0xb7d723b8; argv_string=hola\n"
619 "Thread 2: top of stack near 0xb7c713b8; argv_string=salut\n"
620 "Thread 3: top of stack near 0xb7b703b8; argv_string=servus\n"
621 "Joined with thread 1; returned value was HOLA\n"
622 "Joined with thread 2; returned value was SALUT\n"
623 "Joined with thread 3; returned value was SERVUS\n"
624 msgstr ""
625 "$B< ./a.out -s 0x100000 hola salut servus>\n"
626 "Нить 1: вершина стека около 0xb7d723b8; argv_string=hola\n"
627 "Нить 2: вершина стека около 0xb7c713b8; argv_string=salut\n"
628 "Нить 3: вершина стека около 0xb7b703b8; argv_string=servus\n"
629 "Присоединение нити 1; получено значение возврата HOLA\n"
630 "Присоединение нити 2; получено значение возврата SALUT\n"
631 "Присоединение нити 3; получено значение возврата SERVUS\n"
632
633 #. type: SS
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 #, no-wrap
637 msgid "Program source"
638 msgstr "Исходный код программы"
639
640 #. type: Plain text
641 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
642 #: opensuse-tumbleweed
643 #, no-wrap
644 msgid ""
645 "#include E<lt>ctype.hE<gt>\n"
646 "#include E<lt>err.hE<gt>\n"
647 "#include E<lt>pthread.hE<gt>\n"
648 "#include E<lt>stdio.hE<gt>\n"
649 "#include E<lt>stdlib.hE<gt>\n"
650 "#include E<lt>string.hE<gt>\n"
651 "#include E<lt>sys/types.hE<gt>\n"
652 "#include E<lt>unistd.hE<gt>\n"
653 "\\&\n"
654 "struct thread_info { /* Used as argument to thread_start() */\n"
655 " pthread_t thread_id; /* ID returned by pthread_create() */\n"
656 " int thread_num; /* Application-defined thread # */\n"
657 " char *argv_string; /* From command-line argument */\n"
658 "};\n"
659 "\\&\n"
660 "/* Thread start function: display address near top of our stack,\n"
661 " and return upper-cased copy of argv_string. */\n"
662 "\\&\n"
663 "static void *\n"
664 "thread_start(void *arg)\n"
665 "{\n"
666 " struct thread_info *tinfo = arg;\n"
667 " char *uargv;\n"
668 "\\&\n"
669 " printf(\"Thread %d: top of stack near %p; argv_string=%s\\[rs]n\",\n"
670 " tinfo-E<gt>thread_num, (void *) &tinfo, tinfo-E<gt>argv_string);\n"
671 "\\&\n"
672 " uargv = strdup(tinfo-E<gt>argv_string);\n"
673 " if (uargv == NULL)\n"
674 " err(EXIT_FAILURE, \"strdup\");\n"
675 "\\&\n"
676 " for (char *p = uargv; *p != \\[aq]\\[rs]0\\[aq]; p++)\n"
677 " *p = toupper(*p);\n"
678 "\\&\n"
679 " return uargv;\n"
680 "}\n"
681 "\\&\n"
682 "int\n"
683 "main(int argc, char *argv[])\n"
684 "{\n"
685 " int s, opt;\n"
686 " void *res;\n"
687 " size_t num_threads;\n"
688 " ssize_t stack_size;\n"
689 " pthread_attr_t attr;\n"
690 " struct thread_info *tinfo;\n"
691 "\\&\n"
692 " /* The \"-s\" option specifies a stack size for our threads. */\n"
693 "\\&\n"
694 " stack_size = -1;\n"
695 " while ((opt = getopt(argc, argv, \"s:\")) != -1) {\n"
696 " switch (opt) {\n"
697 " case \\[aq]s\\[aq]:\n"
698 " stack_size = strtoul(optarg, NULL, 0);\n"
699 " break;\n"
700 "\\&\n"
701 " default:\n"
702 " fprintf(stderr, \"Usage: %s [-s stack-size] arg...\\[rs]n\",\n"
703 " argv[0]);\n"
704 " exit(EXIT_FAILURE);\n"
705 " }\n"
706 " }\n"
707 "\\&\n"
708 " num_threads = argc - optind;\n"
709 "\\&\n"
710 " /* Initialize thread creation attributes. */\n"
711 "\\&\n"
712 " s = pthread_attr_init(&attr);\n"
713 " if (s != 0)\n"
714 " errc(EXIT_FAILURE, s, \"pthread_attr_init\");\n"
715 "\\&\n"
716 " if (stack_size E<gt> 0) {\n"
717 " s = pthread_attr_setstacksize(&attr, stack_size);\n"
718 " if (s != 0)\n"
719 " errc(EXIT_FAILURE, s, \"pthread_attr_setstacksize\");\n"
720 " }\n"
721 "\\&\n"
722 " /* Allocate memory for pthread_create() arguments. */\n"
723 "\\&\n"
724 " tinfo = calloc(num_threads, sizeof(*tinfo));\n"
725 " if (tinfo == NULL)\n"
726 " err(EXIT_FAILURE, \"calloc\");\n"
727 "\\&\n"
728 " /* Create one thread for each command-line argument. */\n"
729 "\\&\n"
730 " for (size_t tnum = 0; tnum E<lt> num_threads; tnum++) {\n"
731 " tinfo[tnum].thread_num = tnum + 1;\n"
732 " tinfo[tnum].argv_string = argv[optind + tnum];\n"
733 "\\&\n"
734 " /* The pthread_create() call stores the thread ID into\n"
735 " corresponding element of tinfo[]. */\n"
736 "\\&\n"
737 " s = pthread_create(&tinfo[tnum].thread_id, &attr,\n"
738 " &thread_start, &tinfo[tnum]);\n"
739 " if (s != 0)\n"
740 " errc(EXIT_FAILURE, s, \"pthread_create\");\n"
741 " }\n"
742 "\\&\n"
743 " /* Destroy the thread attributes object, since it is no\n"
744 " longer needed. */\n"
745 "\\&\n"
746 " s = pthread_attr_destroy(&attr);\n"
747 " if (s != 0)\n"
748 " errc(EXIT_FAILURE, s, \"pthread_attr_destroy\");\n"
749 "\\&\n"
750 " /* Now join with each thread, and display its returned value. */\n"
751 "\\&\n"
752 " for (size_t tnum = 0; tnum E<lt> num_threads; tnum++) {\n"
753 " s = pthread_join(tinfo[tnum].thread_id, &res);\n"
754 " if (s != 0)\n"
755 " errc(EXIT_FAILURE, s, \"pthread_join\");\n"
756 "\\&\n"
757 " printf(\"Joined with thread %d; returned value was %s\\[rs]n\",\n"
758 " tinfo[tnum].thread_num, (char *) res);\n"
759 " free(res); /* Free memory allocated by thread */\n"
760 " }\n"
761 "\\&\n"
762 " free(tinfo);\n"
763 " exit(EXIT_SUCCESS);\n"
764 "}\n"
765 msgstr ""
766
767 #. SRC END
768 #. type: SH
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 #, no-wrap
772 msgid "SEE ALSO"
773 msgstr "СМОТРИТЕ ТАКЖЕ"
774
775 #. type: Plain text
776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
778 msgid ""
779 "B<getrlimit>(2), B<pthread_attr_init>(3), B<pthread_cancel>(3), "
780 "B<pthread_detach>(3), B<pthread_equal>(3), B<pthread_exit>(3), "
781 "B<pthread_getattr_np>(3), B<pthread_join>(3), B<pthread_self>(3), "
782 "B<pthread_setattr_default_np>(3), B<pthreads>(7)"
783 msgstr ""
784 "B<getrlimit>(2), B<pthread_attr_init>(3), B<pthread_cancel>(3), "
785 "B<pthread_detach>(3), B<pthread_equal>(3), B<pthread_exit>(3), "
786 "B<pthread_getattr_np>(3), B<pthread_join>(3), B<pthread_self>(3), "
787 "B<pthread_setattr_default_np>(3), B<pthreads>(7)"
788
789 #. type: TH
790 #: debian-trixie
791 #, no-wrap
792 msgid "2024-06-15"
793 msgstr "15 июня 2024 г."
794
795 #. type: TH
796 #: debian-trixie
797 #, no-wrap
798 msgid "Linux man-pages 6.9.1"
799 msgstr "Страницы руководства Linux 6.9.1"
800
801 #. type: Plain text
802 #: debian-trixie
803 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
804 msgstr "Библиотека потоков POSIX (I<libpthread>, I<-lpthread>)"
805
806 #. type: Plain text
807 #: debian-trixie
808 #, fuzzy, no-wrap
809 #| msgid ""
810 #| "B<int pthread_create(pthread_t *>I<thread>B<, const pthread_attr_t *>I<attr>B<,>\n"
811 #| "B< void *(*>I<start_routine>B<) (void *), void *>I<arg>B<);>\n"
812 msgid ""
813 "B<int pthread_create(pthread_t *restrict >I<thread>B<,>\n"
814 "B< const pthread_attr_t *restrict >I<attr>B<,>\n"
815 "B< void *(*>I<start_routine>B<)(void *),>\n"
816 "B< void *restrict >I<arg>B<);>\n"
817 msgstr ""
818 "B<int pthread_create(pthread_t *>I<thread>B<, const pthread_attr_t *>I<attr>B<,>\n"
819 "B< void *(*>I<start_routine>B<) (void *), void *>I<arg>B<);>\n"
820
821 #. type: Plain text
822 #: debian-trixie fedora-44 fedora-rawhide
823 #, no-wrap
824 msgid ""
825 "#include E<lt>ctype.hE<gt>\n"
826 "#include E<lt>errno.hE<gt>\n"
827 "#include E<lt>pthread.hE<gt>\n"
828 "#include E<lt>stdio.hE<gt>\n"
829 "#include E<lt>stdlib.hE<gt>\n"
830 "#include E<lt>string.hE<gt>\n"
831 "#include E<lt>sys/types.hE<gt>\n"
832 "#include E<lt>unistd.hE<gt>\n"
833 "\\&\n"
834 "#define handle_error_en(en, msg) \\[rs]\n"
835 " do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)\n"
836 "\\&\n"
837 "#define handle_error(msg) \\[rs]\n"
838 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
839 "\\&\n"
840 "struct thread_info { /* Used as argument to thread_start() */\n"
841 " pthread_t thread_id; /* ID returned by pthread_create() */\n"
842 " int thread_num; /* Application-defined thread # */\n"
843 " char *argv_string; /* From command-line argument */\n"
844 "};\n"
845 "\\&\n"
846 "/* Thread start function: display address near top of our stack,\n"
847 " and return upper-cased copy of argv_string. */\n"
848 "\\&\n"
849 "static void *\n"
850 "thread_start(void *arg)\n"
851 "{\n"
852 " struct thread_info *tinfo = arg;\n"
853 " char *uargv;\n"
854 "\\&\n"
855 " printf(\"Thread %d: top of stack near %p; argv_string=%s\\[rs]n\",\n"
856 " tinfo-E<gt>thread_num, (void *) &tinfo, tinfo-E<gt>argv_string);\n"
857 "\\&\n"
858 " uargv = strdup(tinfo-E<gt>argv_string);\n"
859 " if (uargv == NULL)\n"
860 " handle_error(\"strdup\");\n"
861 "\\&\n"
862 " for (char *p = uargv; *p != \\[aq]\\[rs]0\\[aq]; p++)\n"
863 " *p = toupper(*p);\n"
864 "\\&\n"
865 " return uargv;\n"
866 "}\n"
867 "\\&\n"
868 "int\n"
869 "main(int argc, char *argv[])\n"
870 "{\n"
871 " int s, opt;\n"
872 " void *res;\n"
873 " size_t num_threads;\n"
874 " ssize_t stack_size;\n"
875 " pthread_attr_t attr;\n"
876 " struct thread_info *tinfo;\n"
877 "\\&\n"
878 " /* The \"-s\" option specifies a stack size for our threads. */\n"
879 "\\&\n"
880 " stack_size = -1;\n"
881 " while ((opt = getopt(argc, argv, \"s:\")) != -1) {\n"
882 " switch (opt) {\n"
883 " case \\[aq]s\\[aq]:\n"
884 " stack_size = strtoul(optarg, NULL, 0);\n"
885 " break;\n"
886 "\\&\n"
887 " default:\n"
888 " fprintf(stderr, \"Usage: %s [-s stack-size] arg...\\[rs]n\",\n"
889 " argv[0]);\n"
890 " exit(EXIT_FAILURE);\n"
891 " }\n"
892 " }\n"
893 "\\&\n"
894 " num_threads = argc - optind;\n"
895 "\\&\n"
896 " /* Initialize thread creation attributes. */\n"
897 "\\&\n"
898 " s = pthread_attr_init(&attr);\n"
899 " if (s != 0)\n"
900 " handle_error_en(s, \"pthread_attr_init\");\n"
901 "\\&\n"
902 " if (stack_size E<gt> 0) {\n"
903 " s = pthread_attr_setstacksize(&attr, stack_size);\n"
904 " if (s != 0)\n"
905 " handle_error_en(s, \"pthread_attr_setstacksize\");\n"
906 " }\n"
907 "\\&\n"
908 " /* Allocate memory for pthread_create() arguments. */\n"
909 "\\&\n"
910 " tinfo = calloc(num_threads, sizeof(*tinfo));\n"
911 " if (tinfo == NULL)\n"
912 " handle_error(\"calloc\");\n"
913 "\\&\n"
914 " /* Create one thread for each command-line argument. */\n"
915 "\\&\n"
916 " for (size_t tnum = 0; tnum E<lt> num_threads; tnum++) {\n"
917 " tinfo[tnum].thread_num = tnum + 1;\n"
918 " tinfo[tnum].argv_string = argv[optind + tnum];\n"
919 "\\&\n"
920 " /* The pthread_create() call stores the thread ID into\n"
921 " corresponding element of tinfo[]. */\n"
922 "\\&\n"
923 " s = pthread_create(&tinfo[tnum].thread_id, &attr,\n"
924 " &thread_start, &tinfo[tnum]);\n"
925 " if (s != 0)\n"
926 " handle_error_en(s, \"pthread_create\");\n"
927 " }\n"
928 "\\&\n"
929 " /* Destroy the thread attributes object, since it is no\n"
930 " longer needed. */\n"
931 "\\&\n"
932 " s = pthread_attr_destroy(&attr);\n"
933 " if (s != 0)\n"
934 " handle_error_en(s, \"pthread_attr_destroy\");\n"
935 "\\&\n"
936 " /* Now join with each thread, and display its returned value. */\n"
937 "\\&\n"
938 " for (size_t tnum = 0; tnum E<lt> num_threads; tnum++) {\n"
939 " s = pthread_join(tinfo[tnum].thread_id, &res);\n"
940 " if (s != 0)\n"
941 " handle_error_en(s, \"pthread_join\");\n"
942 "\\&\n"
943 " printf(\"Joined with thread %d; returned value was %s\\[rs]n\",\n"
944 " tinfo[tnum].thread_num, (char *) res);\n"
945 " free(res); /* Free memory allocated by thread */\n"
946 " }\n"
947 "\\&\n"
948 " free(tinfo);\n"
949 " exit(EXIT_SUCCESS);\n"
950 "}\n"
951 msgstr ""
952
953 #. type: TH
954 #: fedora-44 fedora-rawhide
955 #, no-wrap
956 msgid "2024-12-13"
957 msgstr "13 декабря 2024 г."
958
959 #. type: TH
960 #: fedora-44 fedora-rawhide
961 #, no-wrap
962 msgid "Linux man-pages 6.13"
963 msgstr "Страницы руководства Linux 6.13"
964
965 #. type: Plain text
966 #: fedora-44 fedora-rawhide
967 #, fuzzy, no-wrap
968 #| msgid ""
969 #| "B<int pthread_create(pthread_t *>I<thread>B<, const pthread_attr_t *>I<attr>B<,>\n"
970 #| "B< void *(*>I<start_routine>B<) (void *), void *>I<arg>B<);>\n"
971 msgid ""
972 "B<int pthread_create(pthread_t *restrict >I<thread>B<,>\n"
973 "B< const pthread_attr_t *restrict >I<attr>B<,>\n"
974 "B< typeof(void *(void *)) *>I<start_routine>B<,>\n"
975 "B< void *restrict >I<arg>B<);>\n"
976 msgstr ""
977 "B<int pthread_create(pthread_t *>I<thread>B<, const pthread_attr_t *>I<attr>B<,>\n"
978 "B< void *(*>I<start_routine>B<) (void *), void *>I<arg>B<);>\n"
979
980 #. type: TH
981 #: mageia-cauldron
982 #, no-wrap
983 msgid "Linux man-pages 6.17"
984 msgstr "Страницы руководства Linux 6.17"
985
986 #. type: TH
987 #: opensuse-leap-16-1 opensuse-tumbleweed
988 #, no-wrap
989 msgid "Linux man-pages (unreleased)"
990 msgstr "Страницы руководства Linux (не выпущены)"