Debian Codegraph @

po/ru/man3/pthread_attr_setinheritsched.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 "See B<pthread_attr_init>(3)."
32 msgid "pthread_attr_setinheritsched"
33 msgstr "Смотрите B<pthread_attr_init>(3)."
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2025-05-17"
40 msgstr "17 мая 2025 г."
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 ""
60 "pthread_attr_setinheritsched, pthread_attr_getinheritsched - set/get inherit-"
61 "scheduler attribute in thread attributes object"
62 msgstr ""
63 "pthread_attr_setinheritsched, pthread_attr_getinheritsched - изменяет/"
64 "возвращает атрибут наследования планировщика из объекта атрибутов нити"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "LIBRARY"
71 msgstr "БИБЛИОТЕКА"
72
73 #. type: Plain text
74 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
75 #: opensuse-leap-16-1 opensuse-tumbleweed
76 msgid "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
77 msgstr "Библиотека потоков POSIX (I<libpthread>,\\ I<-lpthread>)"
78
79 #. type: SH
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr "СИНТАКСИС"
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "B<#include E<lt>pthread.hE<gt>>\n"
91 msgstr "B<#include E<lt>pthread.hE<gt>>\n"
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 #, fuzzy, no-wrap
97 #| msgid ""
98 #| "B<int pthread_attr_setinheritsched(pthread_attr_t *>I<attr>B<,>\n"
99 #| "B< int >I<inheritsched>B<);>\n"
100 #| "B<int pthread_attr_getinheritsched(const pthread_attr_t *>I<attr>B<,>\n"
101 #| "B< int *>I<inheritsched>B<);>\n"
102 msgid ""
103 "B<int pthread_attr_setinheritsched(pthread_attr_t *>I<attr>B<,>\n"
104 "B< int >I<inheritsched>B<);>\n"
105 "B<int pthread_attr_getinheritsched(const pthread_attr_t *restrict >I<attr>B<,>\n"
106 "B< int *restrict >I<inheritsched>B<);>\n"
107 msgstr ""
108 "B<int pthread_attr_setinheritsched(pthread_attr_t *>I<attr>B<,>\n"
109 "B< int >I<inheritsched>B<);>\n"
110 "B<int pthread_attr_getinheritsched(const pthread_attr_t *>I<attr>B<,>\n"
111 "B< int *>I<inheritsched>B<);>\n"
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_attr_setinheritsched>() function sets the inherit-scheduler "
125 "attribute of the thread attributes object referred to by I<attr> to the "
126 "value specified in I<inheritsched>. The inherit-scheduler attribute "
127 "determines whether a thread created using the thread attributes object "
128 "I<attr> will inherit its scheduling attributes from the calling thread or "
129 "whether it will take them from I<attr>."
130 msgstr ""
131 "Функция B<pthread_attr_setinheritsched>() изменяет атрибут наследования "
132 "планировщика у объекта атрибутов нити, на которую указывает I<attr>, на "
133 "значение, заданное в I<inheritsched>. Атрибут наследования планировщика "
134 "определяет будет ли нить, создаваемая с учётом объекта атрибутов нити "
135 "I<attr>, наследовать свои атрибуты планировщика от вызывающей нити или для "
136 "этого будут использованы значения из I<attr>."
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 ""
142 "The following scheduling attributes are affected by the inherit-scheduler "
143 "attribute: scheduling policy (B<pthread_attr_setschedpolicy>(3)), scheduling "
144 "priority (B<pthread_attr_setschedparam>(3)), and contention scope "
145 "(B<pthread_attr_setscope>(3))."
146 msgstr ""
147 "Атрибуты планирования, на которые влияет атрибут наследования планировщика: "
148 "алгоритм планирования (B<pthread_attr_setschedpolicy>(3)), приоритет "
149 "планирования (B<pthread_attr_setschedparam>(3)) и область конкурирования "
150 "(B<pthread_attr_setscope>(3))."
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid "The following values may be specified in I<inheritsched>:"
156 msgstr "В I<inheritsched> можно указать следующие значения:"
157
158 #. type: TP
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid "B<PTHREAD_INHERIT_SCHED>"
163 msgstr "B<PTHREAD_INHERIT_SCHED>"
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "Threads that are created using I<attr> inherit scheduling attributes from "
170 "the creating thread; the scheduling attributes in I<attr> are ignored."
171 msgstr ""
172 "Нити, создаваемые с учётом I<attr>, наследуют атрибуты планирования от "
173 "создающей нити; атрибуты планирования I<attr> игнорируются."
174
175 #. type: TP
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 #, no-wrap
179 msgid "B<PTHREAD_EXPLICIT_SCHED>"
180 msgstr "B<PTHREAD_EXPLICIT_SCHED>"
181
182 #. FIXME Document the defaults for scheduler settings
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "Threads that are created using I<attr> take their scheduling attributes from "
188 "the values specified by the attributes object."
189 msgstr ""
190 "Нити, создаваемые с учётом I<attr>, берут значения атрибутов планирования из "
191 "указанного объекта атрибутов."
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid ""
197 "The default setting of the inherit-scheduler attribute in a newly "
198 "initialized thread attributes object is B<PTHREAD_INHERIT_SCHED>."
199 msgstr ""
200 "Значением по умолчанию для атрибута наследования планировщика в "
201 "инициализируемом объекте атрибутов нити является B<PTHREAD_INHERIT_SCHED>."
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 B<pthread_attr_getinheritsched>() returns the inherit-scheduler "
208 "attribute of the thread attributes object I<attr> in the buffer pointed to "
209 "by I<inheritsched>."
210 msgstr ""
211 "Функция B<pthread_attr_getinheritsched>() возвращает атрибут наследования "
212 "планировщика у объекта атрибутов нити, на который указывает I<attr>, в буфер "
213 "на который указывает I<inheritsched>."
214
215 #. type: SH
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "RETURN VALUE"
220 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "On success, these functions return 0; on error, they return a nonzero error "
227 "number."
228 msgstr ""
229 "При успешном выполнении эти функции возвращают 0; при ошибке возвращается "
230 "ненулевой номер ошибки."
231
232 #. type: SH
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "ERRORS"
237 msgstr "ОШИБКИ"
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid "B<pthread_attr_setinheritsched>() can fail with the following error:"
243 msgstr ""
244 "Функция B<pthread_attr_setinheritsched>() может завершиться со следующей "
245 "ошибкой:"
246
247 #. type: TP
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "B<EINVAL>"
252 msgstr "B<EINVAL>"
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid "Invalid value in I<inheritsched>."
258 msgstr "Некорректное значение I<inheritsched>."
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 msgid ""
264 "POSIX.1 also documents an optional B<ENOTSUP> error (\"attempt was made to "
265 "set the attribute to an unsupported value\") for "
266 "B<pthread_attr_setinheritsched>()."
267 msgstr ""
268 "Для B<pthread_attr_setinheritsched>() в POSIX.1 также описана необязательная "
269 "ошибка B<ENOTSUP> («попытка изменить атрибут на не поддерживаемое значение»)."
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 "ATTRIBUTES"
276 msgstr "АТРИБУТЫ"
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 msgid ""
282 "For an explanation of the terms used in this section, see B<attributes>(7)."
283 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
284
285 #. type: tbl table
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "Interface"
290 msgstr "Интерфейс"
291
292 #. type: tbl table
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "Attribute"
297 msgstr "Атрибут"
298
299 #. type: tbl table
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "Value"
304 msgstr "Значение"
305
306 #. type: tbl table
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid ".na\n"
311 msgstr ".na\n"
312
313 #. type: tbl table
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid ".nh\n"
318 msgstr ".nh\n"
319
320 #. type: tbl table
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid ""
325 "B<pthread_attr_setinheritsched>(),\n"
326 "B<pthread_attr_getinheritsched>()"
327 msgstr ""
328 "B<pthread_attr_setinheritsched>(),\n"
329 "B<pthread_attr_getinheritsched>()"
330
331 #. type: tbl table
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "Thread safety"
336 msgstr "Безвредность в нитях"
337
338 #. type: tbl table
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "MT-Safe"
343 msgstr "MT-Safe"
344
345 #. type: SH
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "STANDARDS"
350 msgstr "СТАНДАРТЫ"
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 msgid "POSIX.1-2008."
356 msgstr "POSIX.1-2008."
357
358 #. type: SH
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 #, no-wrap
362 msgid "HISTORY"
363 msgstr "ИСТОРИЯ"
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid "glibc 2.0. POSIX.1-2001."
369 msgstr "glibc 2.0. POSIX.1-2001."
370
371 #. type: SH
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "BUGS"
376 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
377
378 #. FIXME . Track status of the following bug:
379 #. http://sourceware.org/bugzilla/show_bug.cgi?id=7007
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 msgid ""
384 "As at glibc 2.8, if a thread attributes object is initialized using "
385 "B<pthread_attr_init>(3), then the scheduling policy of the attributes object "
386 "is set to B<SCHED_OTHER> and the scheduling priority is set to 0. However, "
387 "if the inherit-scheduler attribute is then set to B<PTHREAD_EXPLICIT_SCHED>, "
388 "then a thread created using the attribute object wrongly inherits its "
389 "scheduling attributes from the creating thread. This bug does not occur if "
390 "either the scheduling policy or scheduling priority attribute is explicitly "
391 "set in the thread attributes object before calling B<pthread_create>(3)."
392 msgstr ""
393 "По состоянию на glibc 2.8, если объект атрибутов нити инициализирован с "
394 "помощью B<pthread_attr_init>(3), то алгоритму планирования в объекте "
395 "атрибутов присваивается B<SCHED_OTHER>, а приоритет планирования равен 0. "
396 "Однако, если затем атрибут наследования планировщика устанавливается в "
397 "B<PTHREAD_EXPLICIT_SCHED>, то нить, создаваемая с учётом объекта атрибутов, "
398 "неправильно наследует свои атрибуты планирования от создающей нити. Этот "
399 "дефект не проявляется, если значение атрибута алгоритма планирования или "
400 "приоритета планирования назначается явно в объекте атрибутов нити до вызова "
401 "B<pthread_create>(3)."
402
403 #. type: SH
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 #, no-wrap
407 msgid "EXAMPLES"
408 msgstr "ПРИМЕРЫ"
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid "See B<pthread_setschedparam>(3)."
414 msgstr "Смотрите B<pthread_setschedparam>(3)."
415
416 #. type: SH
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "SEE ALSO"
421 msgstr "СМОТРИТЕ ТАКЖЕ"
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid ""
427 "B<pthread_attr_init>(3), B<pthread_attr_setschedparam>(3), "
428 "B<pthread_attr_setschedpolicy>(3), B<pthread_attr_setscope>(3), "
429 "B<pthread_create>(3), B<pthread_setschedparam>(3), "
430 "B<pthread_setschedprio>(3), B<pthreads>(7), B<sched>(7)"
431 msgstr ""
432 "B<pthread_attr_init>(3), B<pthread_attr_setschedparam>(3), "
433 "B<pthread_attr_setschedpolicy>(3), B<pthread_attr_setscope>(3), "
434 "B<pthread_create>(3), B<pthread_setschedparam>(3), "
435 "B<pthread_setschedprio>(3), B<pthreads>(7), B<sched>(7)"
436
437 #. type: TH
438 #: debian-trixie
439 #, no-wrap
440 msgid "2024-05-02"
441 msgstr "2 мая 2024 г."
442
443 #. type: TH
444 #: debian-trixie
445 #, no-wrap
446 msgid "Linux man-pages 6.9.1"
447 msgstr "Страницы руководства Linux 6.9.1"
448
449 #. type: Plain text
450 #: debian-trixie
451 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
452 msgstr "Библиотека потоков POSIX (I<libpthread>, I<-lpthread>)"
453
454 #. type: TH
455 #: fedora-44 fedora-rawhide
456 #, no-wrap
457 msgid "2024-07-23"
458 msgstr "23 июля 2024 г."
459
460 #. type: TH
461 #: fedora-44 fedora-rawhide
462 #, no-wrap
463 msgid "Linux man-pages 6.13"
464 msgstr "Страницы руководства Linux 6.13"
465
466 #. type: TH
467 #: mageia-cauldron
468 #, no-wrap
469 msgid "Linux man-pages 6.17"
470 msgstr "Страницы руководства Linux 6.17"
471
472 #. type: TH
473 #: opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid "Linux man-pages (unreleased)"
476 msgstr "Страницы руководства Linux (не выпущены)"