Debian Codegraph @

po/ru/man7/futex.7.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 # Azamat Hackimov <[email protected]>, 2017.
5 # Dmitry Bolkhovskikh <[email protected]>, 2017.
6 # Yuri Kozlov <[email protected]>, 2011-2019.
7 # Иван Павлов <[email protected]>, 2017.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
12 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
13 "Last-Translator: Yuri Kozlov <[email protected]>\n"
14 "Language-Team: Russian <[email protected]>\n"
15 "Language: ru\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
20 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
21 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
22 "X-Generator: Lokalize 2.0\n"
23
24 #. type: TH
25 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
26 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
27 #, no-wrap
28 msgid "futex"
29 msgstr "futex"
30
31 #. type: TH
32 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
33 #, no-wrap
34 msgid "2026-02-17"
35 msgstr "17 февраля 2026 г."
36
37 #. type: TH
38 #: archlinux debian-unstable
39 #, fuzzy, no-wrap
40 #| msgid "Linux man-pages 6.17"
41 msgid "Linux man-pages 6.18"
42 msgstr "Справочные страницы Linux 6.17"
43
44 #. type: SH
45 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
46 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
47 #, no-wrap
48 msgid "NAME"
49 msgstr "НАИМЕНОВАНИЕ"
50
51 #. type: Plain text
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 msgid "futex - fast user-space locking"
55 msgstr "futex - быстрая блокировка в пользовательском пространстве"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "SYNOPSIS"
62 msgstr "СИНТАКСИС"
63
64 #. type: Plain text
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "B<#include E<lt>linux/futex.hE<gt>>\n"
69 msgstr "B<#include E<lt>linux/futex.hE<gt>>\n"
70
71 #. type: SH
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "DESCRIPTION"
76 msgstr "ОПИСАНИЕ"
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 msgid ""
82 "The Linux kernel provides futexes (\"Fast user-space mutexes\") as a "
83 "building block for fast user-space locking and semaphores. Futexes are very "
84 "basic and lend themselves well for building higher-level locking "
85 "abstractions such as mutexes, condition variables, read-write locks, "
86 "barriers, and semaphores."
87 msgstr ""
88 "Ядро Linux предоставляет фьютексы (futexes, «быстрые мьютексы (mutexes, "
89 "взаимоисключающие блокировки) в пользовательском пространстве») в качестве "
90 "строительного блока для быстрой блокировки в пользовательском пространстве и "
91 "семафоров. Фьютексы очень просты и полезны для создания высокоуровневых "
92 "абстракций блокировок, таких как мьютексы, условных переменных, блокировок "
93 "чтения-записи, барьеров и семафоров."
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 msgid ""
99 "Most programmers will in fact not be using futexes directly but will instead "
100 "rely on system libraries built on them, such as the Native POSIX Thread "
101 "Library (NPTL) (see B<pthreads>(7))."
102 msgstr ""
103 "Большинство программистов, фактически, не используют фьютексы напрямую, а "
104 "полагаются на системные библиотеки, которые на них построены, такие как "
105 "Native POSIX Thread Library (NPTL) (смотрите B<pthreads>(7))."
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid ""
111 "A futex is identified by a piece of memory which can be shared between "
112 "processes or threads. In these different processes, the futex need not have "
113 "identical addresses. In its bare form, a futex has semaphore semantics; it "
114 "is a counter that can be incremented and decremented atomically; processes "
115 "can wait for the value to become positive."
116 msgstr ""
117 "Фьютекс отождествляется с участком памяти, который может быть общим для "
118 "процессов или нитей. В этих процессах фьютекс может быть доступен по разным "
119 "адресам. В своей основе фьютекс имеет семантику семафора; это счётчик, "
120 "который можно увеличивать и уменьшать атомарно; процессы могут ждать пока "
121 "значение не станет положительным."
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 msgid ""
127 "Futex operation occurs entirely in user space for the noncontended case. "
128 "The kernel is involved only to arbitrate the contended case. As any sane "
129 "design will strive for noncontention, futexes are also optimized for this "
130 "situation."
131 msgstr ""
132 "Работа с фьютексом выполняется полностью в пользовательском пространстве при "
133 "отсутствии конфликта (noncontended case). Ядро привлекается только для "
134 "разрешения конфликтов. Так как все проектные решения стремятся к отсутствию "
135 "конфликтов, фьютексы также оптимизированы под эту ситуацию."
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 "In its bare form, a futex is an aligned integer which is touched only by "
142 "atomic assembler instructions. This integer is four bytes long on all "
143 "platforms. Processes can share this integer using B<mmap>(2), via shared "
144 "memory segments, or because they share memory space, in which case the "
145 "application is commonly called multithreaded."
146 msgstr ""
147 "В своей основе фьютекс — это целое число, которое изменяется только "
148 "атомарными инструкциями ассемблера. Это целое число размером 4 байта на всех "
149 "платформах. Процессы могут совместно использовать это число посредством "
150 "B<mmap>(2), сегментов общей памяти или общего пространства памяти (share "
151 "memory space, в этом случае приложение, обычно, называют многонитевым)."
152
153 #. type: SS
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 #, no-wrap
157 msgid "Semantics"
158 msgstr "Поведение"
159
160 #. type: Plain text
161 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
162 #, fuzzy
163 #| msgid ""
164 #| "Any futex operation starts in user space, but it may be necessary to "
165 #| "communicate with the kernel using the B<futex>(2) system call."
166 msgid ""
167 "Any futex operation starts in user space, but it may be necessary to "
168 "communicate with the kernel using the B<futex>(2) or B<futex_waitv>(2) "
169 "system calls."
170 msgstr ""
171 "Любое действие с фьютексом начинается в пользовательском пространстве, но "
172 "может потребовать обращения к ядру через системный вызов B<futex>(2)."
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "To \"up\" a futex, execute the proper assembler instructions that will cause "
179 "the host CPU to atomically increment the integer. Afterward, check if it "
180 "has in fact changed from 0 to 1, in which case there were no waiters and the "
181 "operation is done. This is the noncontended case which is fast and should "
182 "be common."
183 msgstr ""
184 "Для «установки» фьютекса выполняются соответствующие ассемблерные "
185 "инструкции, которые заставляют ЦП машины атомарно увеличить целое число. "
186 "Далее проверяется, было ли действительно изменено значение с 0 на 1, то есть "
187 "не было ожидающих и операция выполнена. Это бесконфликтный вариант, "
188 "выполняется быстро и должен возникать чаще всего."
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 "In the contended case, the atomic increment changed the counter from -1 (or "
195 "some other negative number). If this is detected, there are waiters. User "
196 "space should now set the counter to 1 and instruct the kernel to wake up any "
197 "waiters using the B<FUTEX_WAKE> operation."
198 msgstr ""
199 "При возникновении конфликта, атомарное увеличение изменяет счётчик с -1 (или "
200 "другого отрицательного числа). Это означает, что есть ожидающие. В "
201 "пользовательском пространстве теперь нужно присвоить счётчику 1 и дать "
202 "команду ядру пробудить всех ожидающих с помощью операции B<FUTEX_WAKE>."
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "Waiting on a futex, to \"down\" it, is the reverse operation. Atomically "
209 "decrement the counter and check if it changed to 0, in which case the "
210 "operation is done and the futex was uncontended. In all other "
211 "circumstances, the process should set the counter to -1 and request that the "
212 "kernel wait for another process to up the futex. This is done using the "
213 "B<FUTEX_WAIT> operation."
214 msgstr ""
215 "Ожидание фьютекса, его «сброс», является обратной операцией. Происходит "
216 "атомарное уменьшение счётчика и проверка того, стал ли он равен 0, то есть "
217 "операция выполнена и фьютекс был неконфликтным. Во всех других случаях, "
218 "процесс должен присвоить счётчику -1 и запросить ядро об ожидании другого "
219 "процесса, устанавливающего фьютекс. Это выполняется с помощью операции "
220 "B<FUTEX_WAIT>."
221
222 #. type: Plain text
223 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
224 #, fuzzy
225 #| msgid ""
226 #| "The B<futex>(2) system call can optionally be passed a timeout "
227 #| "specifying how long the kernel should wait for the futex to be upped. In "
228 #| "this case, semantics are more complex and the programmer is referred to "
229 #| "B<futex>(2) for more details. The same holds for asynchronous futex "
230 #| "waiting."
231 msgid ""
232 "The B<futex>(2) and B<futex_waitv>(2) system calls can optionally be "
233 "passed a timeout specifying how long the kernel should wait for the futex to "
234 "be upped. In this case, semantics are more complex and the programmer is "
235 "referred to B<futex>(2) for more details. The same holds for asynchronous "
236 "futex waiting."
237 msgstr ""
238 "В системном вызове B<futex>(2) можно указать время ожидания, то есть как "
239 "долго ядро должно ждать установку фьютекса, В этом случае семантика более "
240 "сложна и программисту нужно обратиться к B<futex>(2). Это тоже самое что и "
241 "ожидания асинхронного фьютекса."
242
243 #. type: SH
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid "VERSIONS"
248 msgstr "ВЕРСИИ"
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "Initial futex support was merged in Linux 2.5.7 but with different semantics "
255 "from those described above. Current semantics are available from Linux "
256 "2.5.40 onward."
257 msgstr ""
258 "Впервые поддержка фьютексов появилась в Linux 2.5.7, но с другой семантикой. "
259 "Текущая семантика используется в Linux с версии 2.5.40."
260
261 #. type: SH
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "NOTES"
266 msgstr "ПРИМЕЧАНИЯ"
267
268 #. type: Plain text
269 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
270 #: opensuse-tumbleweed
271 #, fuzzy
272 #| msgid ""
273 #| "To reiterate, bare futexes are not intended as an easy-to-use abstraction "
274 #| "for end users. Implementors are expected to be assembly literate and to "
275 #| "have read the sources of the futex user-space library referenced below."
276 msgid ""
277 "To reiterate, bare futexes are not intended as an easy-to-use abstraction "
278 "for end users. Implementors are expected to be assembly-literate and to "
279 "have read the sources of the futex user-space library referenced below."
280 msgstr ""
281 "Ещё раз повторим: в чистом виде фьютексы не являются лёгкой в использовании "
282 "абстракцией для конечных пользователей. Использующие их программисты должны "
283 "иметь хороший запас знаний об ассемблере и уметь читать исходный код "
284 "библиотеки фьютексов для пользовательского пространства, указанной далее."
285
286 #. .SH AUTHORS
287 #. .P
288 #. Futexes were designed and worked on by Hubertus Franke
289 #. (IBM Thomas J.\& Watson Research Center),
290 #. Matthew Kirkwood, Ingo Molnar (Red Hat) and
291 #. Rusty Russell (IBM Linux Technology Center).
292 #. This page written by bert hubert.
293 #. type: Plain text
294 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
295 #: opensuse-tumbleweed
296 #, fuzzy
297 #| msgid ""
298 #| "This man page illustrates the most common use of the B<futex>(2) "
299 #| "primitives; it is by no means the only one."
300 msgid ""
301 "This manual page illustrates the most common use of the B<futex>(2) "
302 "primitives; it is by no means the only one."
303 msgstr ""
304 "В этой справочной странице показано самое распространённое использование "
305 "примитивов B<futex>(2), которое ни в коем случае не единственное."
306
307 #. type: SH
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "SEE ALSO"
312 msgstr "СМОТРИТЕ ТАКЖЕ"
313
314 #. type: Plain text
315 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
316 #, fuzzy
317 #| msgid ""
318 #| "B<clone>(2), B<futex>(2), B<get_robust_list>(2), B<set_robust_list>(2), "
319 #| "B<set_tid_address>(2), B<pthreads>(7)"
320 msgid ""
321 "B<clone>(2), B<futex>(2), B<futex_waitv>(2), B<get_robust_list>(2), "
322 "B<set_robust_list>(2), B<set_tid_address>(2), B<pthreads>(7)"
323 msgstr ""
324 "B<clone>(2), B<futex>(2), B<get_robust_list>(2), B<set_robust_list>(2), "
325 "B<set_tid_address>(2), B<pthreads>(7)"
326
327 #. type: Plain text
328 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
329 #: opensuse-tumbleweed
330 #, fuzzy
331 #| msgid ""
332 #| "I<Fuss, Futexes and Furwocks: Fast Userlevel Locking in Linux> "
333 #| "(proceedings of the Ottawa Linux Symposium 2002), futex example library, "
334 #| "futex-*.tar.bz2 E<.UR https://mirrors.kernel.org\\:/pub\\:/linux\\:/"
335 #| "kernel\\:/people\\:/rusty/> E<.UE .>"
336 msgid ""
337 "I<Fuss, Futexes and Furwocks: Fast Userlevel Locking in Linux> (proceedings "
338 "of the Ottawa Linux Symposium 2002), futex example library, futex-*.tar.bz2 "
339 "E<.UR https:\\://mirrors.kernel.org\\:/pub\\:/linux\\:/kernel\\:/people\\:/"
340 "rusty/> E<.UE .>"
341 msgstr ""
342 "I<Fuss, Futexes and Furwocks: Быстрая блокировка на уровне пользователя в "
343 "Linux> (материалы Ottawa Linux Symposium 2002), библиотека примеров "
344 "фьютексов, futex-*.tar.bz2 E<.UR https://mirrors.kernel.org\\:/pub\\:/"
345 "linux\\:/kernel\\:/people\\:/ rusty/> E<.UE .>"
346
347 #. type: TH
348 #: debian-trixie fedora-44 fedora-rawhide
349 #, no-wrap
350 msgid "2024-05-02"
351 msgstr "2 мая 2024 г."
352
353 #. type: TH
354 #: debian-trixie
355 #, no-wrap
356 msgid "Linux man-pages 6.9.1"
357 msgstr "Страницы руководства Linux 6.9.1"
358
359 #. type: Plain text
360 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
361 msgid ""
362 "Any futex operation starts in user space, but it may be necessary to "
363 "communicate with the kernel using the B<futex>(2) system call."
364 msgstr ""
365 "Любое действие с фьютексом начинается в пользовательском пространстве, но "
366 "может потребовать обращения к ядру через системный вызов B<futex>(2)."
367
368 #. type: Plain text
369 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
370 msgid ""
371 "The B<futex>(2) system call can optionally be passed a timeout specifying "
372 "how long the kernel should wait for the futex to be upped. In this case, "
373 "semantics are more complex and the programmer is referred to B<futex>(2) "
374 "for more details. The same holds for asynchronous futex waiting."
375 msgstr ""
376 "В системном вызове B<futex>(2) можно указать время ожидания, то есть как "
377 "долго ядро должно ждать установку фьютекса, В этом случае семантика более "
378 "сложна и программисту нужно обратиться к B<futex>(2). Это тоже самое что и "
379 "ожидания асинхронного фьютекса."
380
381 #. type: Plain text
382 #: debian-trixie fedora-44 fedora-rawhide
383 msgid ""
384 "To reiterate, bare futexes are not intended as an easy-to-use abstraction "
385 "for end users. Implementors are expected to be assembly literate and to "
386 "have read the sources of the futex user-space library referenced below."
387 msgstr ""
388 "Ещё раз повторим: в чистом виде фьютексы не являются лёгкой в использовании "
389 "абстракцией для конечных пользователей. Использующие их программисты должны "
390 "иметь хороший запас знаний об ассемблере и уметь читать исходный код "
391 "библиотеки фьютексов для пользовательского пространства, указанной далее."
392
393 #. .SH AUTHORS
394 #. .P
395 #. Futexes were designed and worked on by Hubertus Franke
396 #. (IBM Thomas J. Watson Research Center),
397 #. Matthew Kirkwood, Ingo Molnar (Red Hat) and
398 #. Rusty Russell (IBM Linux Technology Center).
399 #. This page written by bert hubert.
400 #. type: Plain text
401 #: debian-trixie fedora-44 fedora-rawhide
402 msgid ""
403 "This man page illustrates the most common use of the B<futex>(2) "
404 "primitives; it is by no means the only one."
405 msgstr ""
406 "В этой справочной странице показано самое распространённое использование "
407 "примитивов B<futex>(2), которое ни в коем случае не единственное."
408
409 #. type: Plain text
410 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
411 msgid ""
412 "B<clone>(2), B<futex>(2), B<get_robust_list>(2), B<set_robust_list>(2), "
413 "B<set_tid_address>(2), B<pthreads>(7)"
414 msgstr ""
415 "B<clone>(2), B<futex>(2), B<get_robust_list>(2), B<set_robust_list>(2), "
416 "B<set_tid_address>(2), B<pthreads>(7)"
417
418 #. type: Plain text
419 #: debian-trixie fedora-44 fedora-rawhide
420 msgid ""
421 "I<Fuss, Futexes and Furwocks: Fast Userlevel Locking in Linux> (proceedings "
422 "of the Ottawa Linux Symposium 2002), futex example library, futex-*.tar.bz2 "
423 "E<.UR https://mirrors.kernel.org\\:/pub\\:/linux\\:/kernel\\:/people\\:/"
424 "rusty/> E<.UE .>"
425 msgstr ""
426 "I<Fuss, Futexes and Furwocks: Быстрая блокировка на уровне пользователя в "
427 "Linux> (материалы Ottawa Linux Symposium 2002), библиотека примеров "
428 "фьютексов, futex-*.tar.bz2 E<.UR https://mirrors.kernel.org\\:/pub\\:/"
429 "linux\\:/kernel\\:/people\\:/ rusty/> E<.UE .>"
430
431 #. type: TH
432 #: fedora-44 fedora-rawhide
433 #, no-wrap
434 msgid "Linux man-pages 6.13"
435 msgstr "Страницы руководства Linux 6.13"
436
437 #. type: TH
438 #: mageia-cauldron
439 #, no-wrap
440 msgid "2025-12-25"
441 msgstr "25 декабря 2025 г."
442
443 #. type: TH
444 #: mageia-cauldron
445 #, no-wrap
446 msgid "Linux man-pages 6.17"
447 msgstr "Страницы руководства Linux 6.17"
448
449 #. type: TH
450 #: opensuse-leap-16-1 opensuse-tumbleweed
451 #, no-wrap
452 msgid "Linux man-pages (unreleased)"
453 msgstr "Страницы руководства Linux (не выпущены)"