Debian Codegraph @

po/ru/man3/pthread_attr_setscope.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 #, no-wrap
31 msgid "pthread_attr_setscope"
32 msgstr ""
33
34 #. type: TH
35 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
36 #: opensuse-tumbleweed
37 #, no-wrap
38 msgid "2025-05-17"
39 msgstr "17 мая 2025 г."
40
41 #. type: TH
42 #: archlinux debian-unstable
43 #, fuzzy, no-wrap
44 #| msgid "Linux man-pages 6.17"
45 msgid "Linux man-pages 6.18"
46 msgstr "Справочные страницы Linux 6.17"
47
48 #. type: SH
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 #, no-wrap
52 msgid "NAME"
53 msgstr "НАИМЕНОВАНИЕ"
54
55 #. type: Plain text
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 msgid ""
59 "pthread_attr_setscope, pthread_attr_getscope - set/get contention scope "
60 "attribute in thread attributes object"
61 msgstr ""
62 "pthread_attr_setscope, pthread_attr_getscope - изменяет/возвращает атрибут "
63 "области конкурирования из объекта атрибутов нити"
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "LIBRARY"
70 msgstr "БИБЛИОТЕКА"
71
72 #. type: Plain text
73 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
74 #: opensuse-leap-16-1 opensuse-tumbleweed
75 msgid "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
76 msgstr "Библиотека потоков POSIX (I<libpthread>,\\ I<-lpthread>)"
77
78 #. type: SH
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "SYNOPSIS"
83 msgstr "СИНТАКСИС"
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "B<#include E<lt>pthread.hE<gt>>\n"
90 msgstr "B<#include E<lt>pthread.hE<gt>>\n"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, fuzzy, no-wrap
96 #| msgid ""
97 #| "B<int pthread_attr_setscope(pthread_attr_t *>I<attr>B<, int >I<scope>B<);>\n"
98 #| "B<int pthread_attr_getscope(const pthread_attr_t *>I<attr>B<, int *>I<scope>B<);>\n"
99 msgid ""
100 "B<int pthread_attr_setscope(pthread_attr_t *>I<attr>B<, int >I<scope>B<);>\n"
101 "B<int pthread_attr_getscope(const pthread_attr_t *restrict >I<attr>B<,>\n"
102 "B< int *restrict >I<scope>B<);>\n"
103 msgstr ""
104 "B<int pthread_attr_setscope(pthread_attr_t *>I<attr>B<, int >I<scope>B<);>\n"
105 "B<int pthread_attr_getscope(const pthread_attr_t *>I<attr>B<, int *>I<scope>B<);>\n"
106
107 #. type: SH
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 #, no-wrap
111 msgid "DESCRIPTION"
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 ""
118 "The B<pthread_attr_setscope>() function sets the contention scope attribute "
119 "of the thread attributes object referred to by I<attr> to the value "
120 "specified in I<scope>. The contention scope attribute defines the set of "
121 "threads against which a thread competes for resources such as the CPU. "
122 "POSIX.1 specifies two possible values for I<scope>:"
123 msgstr ""
124 "Функция B<pthread_attr_setscope>() изменяет атрибут области конкурирования "
125 "(contention scope) в объекте атрибутов нити, на который указывает I<attr>, в "
126 "значение I<scope>. Данным атрибутом определяется набор нитей, с которыми "
127 "нить конкурирует за ресурсы (например ЦП). В POSIX.1 указаны два возможных "
128 "значения I<scope>:"
129
130 #. type: TP
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 #, no-wrap
134 msgid "B<PTHREAD_SCOPE_SYSTEM>"
135 msgstr "B<PTHREAD_SCOPE_SYSTEM>"
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 "The thread competes for resources with all other threads in all processes on "
142 "the system that are in the same scheduling allocation domain (a group of one "
143 "or more processors). B<PTHREAD_SCOPE_SYSTEM> threads are scheduled relative "
144 "to one another according to their scheduling policy and priority."
145 msgstr ""
146 "Нить конкурирует за ресурсы со всеми нитями всех процессов системы, которые "
147 "находятся в том же домене планирования выделения (группа из одного или "
148 "нескольких процессоров). Нити с B<PTHREAD_SCOPE_SYSTEM> запланированы друг "
149 "относительно друга согласно их политике планирования и приоритета."
150
151 #. type: TP
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid "B<PTHREAD_SCOPE_PROCESS>"
156 msgstr "B<PTHREAD_SCOPE_PROCESS>"
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 ""
162 "The thread competes for resources with all other threads in the same process "
163 "that were also created with the B<PTHREAD_SCOPE_PROCESS> contention scope. "
164 "B<PTHREAD_SCOPE_PROCESS> threads are scheduled relative to other threads in "
165 "the process according to their scheduling policy and priority. POSIX.1 "
166 "leaves it unspecified how these threads contend with other threads in other "
167 "process on the system or with other threads in the same process that were "
168 "created with the B<PTHREAD_SCOPE_SYSTEM> contention scope."
169 msgstr ""
170 "Нить конкурирует за ресурсы со всеми нитями процесса, в котором она создана, "
171 "и которые также созданы с областью конкурирования B<PTHREAD_SCOPE_PROCESS>. "
172 "Нити с B<PTHREAD_SCOPE_PROCESS> запланированы относительно других нитей "
173 "процесса согласно их политике планирования и приоритета. В POSIX.1 не "
174 "указано как эти нити конкурируют с нитями из других процессов системы или с "
175 "другими нитями того же процесса, которые созданы с областью конкурирования "
176 "B<PTHREAD_SCOPE_SYSTEM>."
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "POSIX.1 requires that an implementation support at least one of these "
183 "contention scopes. Linux supports B<PTHREAD_SCOPE_SYSTEM>, but not "
184 "B<PTHREAD_SCOPE_PROCESS>."
185 msgstr ""
186 "В POSIX.1 от реализации требуется поддерживать, как минимум, одну из этих "
187 "областей конкурирования. В Linux поддерживается B<PTHREAD_SCOPE_SYSTEM> и не "
188 "поддерживается B<PTHREAD_SCOPE_PROCESS>."
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 msgid ""
194 "On systems that support multiple contention scopes, then, in order for the "
195 "parameter setting made by B<pthread_attr_setscope>() to have effect when "
196 "calling B<pthread_create>(3), the caller must use "
197 "B<pthread_attr_setinheritsched>(3) to set the inherit-scheduler attribute "
198 "of the attributes object I<attr> to B<PTHREAD_EXPLICIT_SCHED>."
199 msgstr ""
200 "В системах, где есть поддержка нескольких областей конкурирования, для учёта "
201 "значения параметра, заданного B<pthread_attr_setscope>(), при вызове "
202 "B<pthread_create>(3), вызывающий должен использовать "
203 "B<pthread_attr_setinheritsched>(3) для присвоения атрибуту inherit-scheduler "
204 "объекта атрибутов I<attr> значения B<PTHREAD_EXPLICIT_SCHED>."
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid ""
210 "The B<pthread_attr_getscope>() function returns the contention scope "
211 "attribute of the thread attributes object referred to by I<attr> in the "
212 "buffer pointed to by I<scope>."
213 msgstr ""
214 "Функция B<pthread_attr_getscope>() возвращает атрибут области конкурирования "
215 "из объекта атрибутов нити, на который указывает I<attr>, в буфер на который "
216 "указывает I<scope>."
217
218 #. type: SH
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "RETURN VALUE"
223 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid ""
229 "On success, these functions return 0; on error, they return a nonzero error "
230 "number."
231 msgstr ""
232 "При успешном выполнении эти функции возвращают 0; при ошибке возвращается "
233 "ненулевой номер ошибки."
234
235 #. type: SH
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "ERRORS"
240 msgstr "ОШИБКИ"
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid "B<pthread_attr_setscope>() can fail with the following errors:"
246 msgstr ""
247 "Вызов B<pthread_attr_setscope>() может завершиться со следующими ошибками:"
248
249 #. type: TP
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 #, no-wrap
253 msgid "B<EINVAL>"
254 msgstr "B<EINVAL>"
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid "An invalid value was specified in I<scope>."
260 msgstr "Указано неверное значение в I<scope>."
261
262 #. type: TP
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "B<ENOTSUP>"
267 msgstr "B<ENOTSUP>"
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid ""
273 "I<scope> specified the value B<PTHREAD_SCOPE_PROCESS>, which is not "
274 "supported on Linux."
275 msgstr ""
276 "Значение I<scope> равно B<PTHREAD_SCOPE_PROCESS>, которое не поддерживается "
277 "в Linux."
278
279 #. type: SH
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "ATTRIBUTES"
284 msgstr "АТРИБУТЫ"
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "For an explanation of the terms used in this section, see B<attributes>(7)."
291 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
292
293 #. type: tbl table
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "Interface"
298 msgstr "Интерфейс"
299
300 #. type: tbl table
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "Attribute"
305 msgstr "Атрибут"
306
307 #. type: tbl table
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "Value"
312 msgstr "Значение"
313
314 #. type: tbl table
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid ".na\n"
319 msgstr ".na\n"
320
321 #. type: tbl table
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid ".nh\n"
326 msgstr ".nh\n"
327
328 #. type: tbl table
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid ""
333 "B<pthread_attr_setscope>(),\n"
334 "B<pthread_attr_getscope>()"
335 msgstr ""
336 "B<pthread_attr_setscope>(),\n"
337 "B<pthread_attr_getscope>()"
338
339 #. type: tbl table
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "Thread safety"
344 msgstr "Безвредность в нитях"
345
346 #. type: tbl table
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "MT-Safe"
351 msgstr "MT-Safe"
352
353 #. type: SH
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 #, no-wrap
357 msgid "STANDARDS"
358 msgstr "СТАНДАРТЫ"
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 msgid "POSIX.1-2008."
364 msgstr "POSIX.1-2008."
365
366 #. type: SH
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "HISTORY"
371 msgstr "ИСТОРИЯ"
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 msgid "POSIX.1-2001."
377 msgstr "POSIX.1-2001."
378
379 #. type: SH
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "NOTES"
384 msgstr "ПРИМЕЧАНИЯ"
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid ""
390 "The B<PTHREAD_SCOPE_SYSTEM> contention scope typically indicates that a user-"
391 "space thread is bound directly to a single kernel-scheduling entity. This "
392 "is the case on Linux for the obsolete LinuxThreads implementation and the "
393 "modern NPTL implementation, which are both 1:1 threading implementations."
394 msgstr ""
395 "Область конкурирования B<PTHREAD_SCOPE_SYSTEM> обычно означает, что нить "
396 "пространства пользователя явно привязана к одной единице планирования ядра. "
397 "В Linux это относится как к устаревшей реализации LinuxThreads так и к новой "
398 "NPTL, в которых используется привязка нитей 1:1."
399
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 msgid ""
404 "POSIX.1 specifies that the default contention scope is implementation-"
405 "defined."
406 msgstr ""
407 "В POSIX.1 сказано, что значение по умолчанию для области конкурирования "
408 "оставляется за реализацией."
409
410 #. type: SH
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "SEE ALSO"
415 msgstr "СМОТРИТЕ ТАКЖЕ"
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid ""
421 "B<pthread_attr_init>(3), B<pthread_attr_setaffinity_np>(3), "
422 "B<pthread_attr_setinheritsched>(3), B<pthread_attr_setschedparam>(3), "
423 "B<pthread_attr_setschedpolicy>(3), B<pthread_create>(3), B<pthreads>(7)"
424 msgstr ""
425 "B<pthread_attr_init>(3), B<pthread_attr_setaffinity_np>(3), "
426 "B<pthread_attr_setinheritsched>(3), B<pthread_attr_setschedparam>(3), "
427 "B<pthread_attr_setschedpolicy>(3), B<pthread_create>(3), B<pthreads>(7)"
428
429 #. type: TH
430 #: debian-trixie
431 #, no-wrap
432 msgid "2024-05-02"
433 msgstr "2 мая 2024 г."
434
435 #. type: TH
436 #: debian-trixie
437 #, no-wrap
438 msgid "Linux man-pages 6.9.1"
439 msgstr "Страницы руководства Linux 6.9.1"
440
441 #. type: Plain text
442 #: debian-trixie
443 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
444 msgstr "Библиотека потоков POSIX (I<libpthread>, I<-lpthread>)"
445
446 #. type: TH
447 #: fedora-44 fedora-rawhide
448 #, no-wrap
449 msgid "2024-07-23"
450 msgstr "23 июля 2024 г."
451
452 #. type: TH
453 #: fedora-44 fedora-rawhide
454 #, no-wrap
455 msgid "Linux man-pages 6.13"
456 msgstr "Страницы руководства Linux 6.13"
457
458 #. type: TH
459 #: mageia-cauldron
460 #, no-wrap
461 msgid "Linux man-pages 6.17"
462 msgstr "Страницы руководства Linux 6.17"
463
464 #. type: TH
465 #: opensuse-leap-16-1 opensuse-tumbleweed
466 #, no-wrap
467 msgid "Linux man-pages (unreleased)"
468 msgstr "Страницы руководства Linux (не выпущены)"