Debian Codegraph @

po/ru/man7/sem_overview.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 # Alexander Golubev <[email protected]>, 2018.
5 # Azamat Hackimov <[email protected]>, 2011, 2014-2016.
6 # Hotellook, 2014.
7 # Nikita <[email protected]>, 2014.
8 # Spiros Georgaras <[email protected]>, 2016.
9 # Vladislav <[email protected]>, 2015.
10 # Yuri Kozlov <[email protected]>, 2011-2019.
11 # Иван Павлов <[email protected]>, 2017.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, fuzzy, no-wrap
32 #| msgid "Overview"
33 msgid "sem_overview"
34 msgstr "Обзор"
35
36 #. type: TH
37 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
38 #: opensuse-tumbleweed
39 #, no-wrap
40 msgid "2026-02-08"
41 msgstr "8 февраля 2026 г."
42
43 #. type: TH
44 #: archlinux debian-unstable
45 #, fuzzy, no-wrap
46 #| msgid "Linux man-pages 6.17"
47 msgid "Linux man-pages 6.18"
48 msgstr "Справочные страницы Linux 6.17"
49
50 #. type: SH
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 #, no-wrap
54 msgid "NAME"
55 msgstr "НАИМЕНОВАНИЕ"
56
57 #. type: Plain text
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 msgid "sem_overview - overview of POSIX semaphores"
61 msgstr "sem_overview - обзор семафоров POSIX"
62
63 #. type: SH
64 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
65 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
66 #, no-wrap
67 msgid "DESCRIPTION"
68 msgstr "ОПИСАНИЕ"
69
70 #. type: Plain text
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 msgid ""
74 "POSIX semaphores allow processes and threads to synchronize their actions."
75 msgstr ""
76 "Семафоры POSIX позволяют процессам и нитям синхронизировать свою работу."
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 "A semaphore is an integer whose value is never allowed to fall below zero. "
83 "Two operations can be performed on semaphores: increment the semaphore value "
84 "by one (B<sem_post>(3)); and decrement the semaphore value by one "
85 "(B<sem_wait>(3)). If the value of a semaphore is currently zero, then a "
86 "B<sem_wait>(3) operation will block until the value becomes greater than "
87 "zero."
88 msgstr ""
89 "Семафор представляет собой целое число, значение которого никогда не будет "
90 "меньше нуля. Над семафорами выполняются две операции: увеличение значения "
91 "семафора на единицу (B<sem_post>(3)) и уменьшение значения семафора на "
92 "единицу (B<sem_wait>(3)). Если значение семафора равно нулю, то операция "
93 "B<sem_wait>(3) блокирует работу до тех пор, пока значение не станет больше "
94 "нуля."
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid ""
100 "POSIX semaphores come in two forms: named semaphores and unnamed semaphores."
101 msgstr ""
102 "Есть два вида семафоров POSIX: именованные семафоры и безымянные семафоры."
103
104 #. type: TP
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, no-wrap
108 msgid "B<Named semaphores>"
109 msgstr "B<Именованные семафоры>"
110
111 #. glibc allows the initial slash to be omitted, and makes
112 #. multiple initial slashes equivalent to a single slash.
113 #. This differs from the implementation of POSIX message queues.
114 #. glibc allows subdirectory components in the name, in which
115 #. case the subdirectory tree must exist under /dev/shm, and
116 #. the fist subdirectory component must exist as the name
117 #. sem.name, and all of the subdirectory components must allow the
118 #. required permissions if a user wants to create a semaphore
119 #. object in a subdirectory.
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 "A named semaphore is identified by a name of the form I</somename>; that is, "
125 "a null-terminated string of up to B<NAME_MAX>I<-4> (i.e., 251) characters "
126 "consisting of an initial slash, followed by one or more characters, none of "
127 "which are slashes. Two processes can operate on the same named semaphore by "
128 "passing the same name to B<sem_open>(3)."
129 msgstr ""
130 "Именованные семафоры отличают по именам вида I</имя> — строка (с null в "
131 "конце) до B<NAME_MAX>I<-4> (т. е., 251) символов, состоящая из начальной "
132 "косой черты и одного или нескольких символов (символ косой черты не "
133 "допускается). Два процесса могут работать с одним семафором указав его имя в "
134 "B<sem_open>(3)."
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "The B<sem_open>(3) function creates a new named semaphore or opens an "
141 "existing named semaphore. After the semaphore has been opened, it can be "
142 "operated on using B<sem_post>(3) and B<sem_wait>(3). When a process has "
143 "finished using the semaphore, it can use B<sem_close>(3) to close the "
144 "semaphore. When all processes have finished using the semaphore, it can be "
145 "removed from the system using B<sem_unlink>(3)."
146 msgstr ""
147 "Функция B<sem_open>(3) создаёт новый именованный семафор или открывает "
148 "существующий. После открытия семафора с ним можно работать посредством "
149 "B<sem_post>(3) и B<sem_wait>(3). Когда процесс закончил использовать "
150 "семафор, его можно закрыть с помощью B<sem_close>(3). Когда все процессы "
151 "закончили использовать семафор, его можно удалить из системы с помощью "
152 "B<sem_unlink>(3)."
153
154 #. type: TP
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 #, no-wrap
158 msgid "B<Unnamed semaphores (memory-based semaphores)>"
159 msgstr "B<Безымянные семафоры (семафоры в памяти)>"
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid ""
165 "An unnamed semaphore does not have a name. Instead the semaphore is placed "
166 "in a region of memory that is shared between multiple threads (a I<thread-"
167 "shared semaphore>) or processes (a I<process-shared semaphore>). A thread-"
168 "shared semaphore is placed in an area of memory shared between the threads "
169 "of a process, for example, a global variable. A process-shared semaphore "
170 "must be placed in a shared memory region (e.g., a System V shared memory "
171 "segment created using B<shmget>(2), or a POSIX shared memory object built "
172 "created using B<shm_open>(3))."
173 msgstr ""
174 "Безымянные семафоры не имеют имени. Семафор размещается в области памяти, "
175 "которая доступна нескольким нитям (I<общий семафор для нитей)> или процессам "
176 "(I<общий семафор для процессов>). Общий семафор для нитей размещается в "
177 "области памяти, которая доступна из нитей процесса, например в глобальной "
178 "переменной. Общий семафор для процессов должен размещаться в области общей "
179 "памяти (например, в сегменте общей памяти System V, созданной с помощью "
180 "B<shmget>(2), или в объекте общей памяти POSIX, созданном с помощью "
181 "B<shm_open>(3))."
182
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 "Before being used, an unnamed semaphore must be initialized using "
188 "B<sem_init>(3). It can then be operated on using B<sem_post>(3) and "
189 "B<sem_wait>(3). When the semaphore is no longer required, and before the "
190 "memory in which it is located is deallocated, the semaphore should be "
191 "destroyed using B<sem_destroy>(3)."
192 msgstr ""
193 "Перед началом использования безымянный семафор должны быть "
194 "проинициализирован с помощью B<sem_init>(3). После этого с ним можно "
195 "работать через B<sem_post>(3) и B<sem_wait>(3). Если семафор больше не "
196 "нужен, то семафор нужно уничтожить с помощью B<sem_destroy>(3) (но до "
197 "освобождения выделенной для него памяти)."
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 msgid ""
203 "The remainder of this section describes some specific details of the Linux "
204 "implementation of POSIX semaphores."
205 msgstr ""
206 "Далее в разделе описываются особенности реализации семафоров POSIX в Linux."
207
208 #. type: SS
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "Versions"
213 msgstr "Версии"
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, fuzzy
219 #| msgid ""
220 #| "Prior to kernel 2.6, Linux supported only unnamed, thread-shared "
221 #| "semaphores. On a system with Linux 2.6 and a glibc that provides the "
222 #| "NPTL threading implementation, a complete implementation of POSIX "
223 #| "semaphores is provided."
224 msgid ""
225 "Before Linux 2.6, Linux supported only unnamed, thread-shared semaphores. "
226 "On a system with Linux 2.6 and a glibc that provides the NPTL threading "
227 "implementation, a complete implementation of POSIX semaphores is provided."
228 msgstr ""
229 "До ядра версии 2.6, в Linux поддерживались только безымянные общие семафоры "
230 "для нитей. В системах с Linux 2.6 и glibc, предоставляющей реализацию нитей "
231 "NPTL, имеется полная реализация семафоров POSIX."
232
233 #. type: SS
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "Persistence"
238 msgstr "Устойчивость"
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid ""
244 "POSIX named semaphores have kernel persistence: if not removed by "
245 "B<sem_unlink>(3), a semaphore will exist until the system is shut down."
246 msgstr ""
247 "Именованные семафоры POSIX располагаются в ядре. Пока семафор не удалён с "
248 "помощью B<sem_unlink>(3), он остаётся в системе до её выключения."
249
250 #. type: SS
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 #, no-wrap
254 msgid "Linking"
255 msgstr "Компоновка"
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 msgid ""
261 "Programs using the POSIX semaphores API must be compiled with I<cc -pthread> "
262 "to link against the real-time library, I<librt>."
263 msgstr ""
264 "Программы, в которых используется программный интерфейс семафоров POSIX, для "
265 "компоновки с библиотекой реального времени I<librt> должны компилироваться с "
266 "помощью I<cc -pthread>."
267
268 #. type: SS
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "Accessing named semaphores via the filesystem"
273 msgstr "Доступ к именованным семафорам через файловую систему"
274
275 #. type: Plain text
276 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
277 #: opensuse-tumbleweed
278 #, fuzzy
279 #| msgid ""
280 #| "On Linux, named semaphores are created in a virtual filesystem, normally "
281 #| "mounted under I</dev/shm>, with names of the form B<sem.>I<somename>. "
282 #| "(This is the reason that semaphore names are limited to B<NAME_MAX>I<-4> "
283 #| "rather than B<NAME_MAX> characters.)"
284 msgid ""
285 "On Linux, named semaphores are created in a virtual filesystem, normally "
286 "mounted under I</dev/shm>, with names of the form I<sem.>somename. (This is "
287 "the reason that semaphore names are limited to B<NAME_MAX>I<-4> rather than "
288 "B<NAME_MAX> characters.)"
289 msgstr ""
290 "В Linux, именованные семафоры создаются в виртуальной файловой системе, "
291 "обычно монтируемой в I</dev/shm>, с именами вида B<sem.>I<имя> (по этой "
292 "причине длина имени семафора ограничена B<NAME_MAX>I<-4>, а не B<NAME_MAX> "
293 "символами)."
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid ""
299 "Since Linux 2.6.19, ACLs can be placed on files under this directory, to "
300 "control object permissions on a per-user and per-group basis."
301 msgstr ""
302 "Начиная с Linux 2.6.19, для управления доступом к объектам конкретным "
303 "пользователям или группам на файлы в этом каталоге могут быть применены ACL."
304
305 #. type: SH
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "NOTES"
310 msgstr "ПРИМЕЧАНИЯ"
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 msgid ""
316 "System V semaphores (B<semget>(2), B<semop>(2), etc.) are an older semaphore "
317 "API. POSIX semaphores provide a simpler, and better designed interface than "
318 "System V semaphores; on the other hand POSIX semaphores are less widely "
319 "available (especially on older systems) than System V semaphores."
320 msgstr ""
321 "Семафоры System V (B<semget>(2), B<semop>(2) и т. п.) — это старый "
322 "программный интерфейс семафоров. Семафоры POSIX предоставляют более простой "
323 "и продуманный интерфейс чем семафоры System V; с другой стороны, семафоры "
324 "POSIX не так широко распространены (особенно в старых системах), по "
325 "сравнению с семафорами System V."
326
327 #. type: SH
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "EXAMPLES"
332 msgstr "ПРИМЕРЫ"
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 "An example of the use of various POSIX semaphore functions is shown in "
339 "B<sem_wait>(3)."
340 msgstr "Пример использования функций семафоров POSIX показан в B<sem_wait>(3)."
341
342 #. type: SH
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, no-wrap
346 msgid "SEE ALSO"
347 msgstr "СМОТРИТЕ ТАКЖЕ"
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 msgid ""
353 "B<sem_close>(3), B<sem_destroy>(3), B<sem_getvalue>(3), B<sem_init>(3), "
354 "B<sem_open>(3), B<sem_post>(3), B<sem_unlink>(3), B<sem_wait>(3), "
355 "B<pthreads>(7), B<shm_overview>(7)"
356 msgstr ""
357 "B<sem_close>(3), B<sem_destroy>(3), B<sem_getvalue>(3), B<sem_init>(3), "
358 "B<sem_open>(3), B<sem_post>(3), B<sem_unlink>(3), B<sem_wait>(3), "
359 "B<pthreads>(7), B<shm_overview>(7)"
360
361 #. type: TH
362 #: debian-trixie fedora-44 fedora-rawhide
363 #, no-wrap
364 msgid "2024-05-02"
365 msgstr "2 мая 2024 г."
366
367 #. type: TH
368 #: debian-trixie
369 #, no-wrap
370 msgid "Linux man-pages 6.9.1"
371 msgstr "Страницы руководства Linux 6.9.1"
372
373 #. type: Plain text
374 #: debian-trixie fedora-44 fedora-rawhide
375 msgid ""
376 "On Linux, named semaphores are created in a virtual filesystem, normally "
377 "mounted under I</dev/shm>, with names of the form B<sem.>I<somename>. (This "
378 "is the reason that semaphore names are limited to B<NAME_MAX>I<-4> rather "
379 "than B<NAME_MAX> characters.)"
380 msgstr ""
381 "В Linux, именованные семафоры создаются в виртуальной файловой системе, "
382 "обычно монтируемой в I</dev/shm>, с именами вида B<sem.>I<имя> (по этой "
383 "причине длина имени семафора ограничена B<NAME_MAX>I<-4>, а не B<NAME_MAX> "
384 "символами)."
385
386 #. type: TH
387 #: fedora-44 fedora-rawhide
388 #, no-wrap
389 msgid "Linux man-pages 6.13"
390 msgstr "Страницы руководства Linux 6.13"
391
392 #. type: TH
393 #: mageia-cauldron
394 #, no-wrap
395 msgid "Linux man-pages 6.17"
396 msgstr "Страницы руководства Linux 6.17"
397
398 #. type: TH
399 #: opensuse-leap-16-1 opensuse-tumbleweed
400 #, no-wrap
401 msgid "Linux man-pages (unreleased)"
402 msgstr "Страницы руководства Linux (не выпущены)"