Debian Codegraph @

po/ru/man3/pthread_atfork.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_atfork"
32 msgstr ""
33
34 #. type: TH
35 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
36 #: opensuse-tumbleweed
37 #, no-wrap
38 msgid "2026-02-08"
39 msgstr "8 февраля 2026 г."
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 "pthread_atfork - register fork handlers"
59 msgstr "pthread_atfork - регистрирует обработчики ветвления"
60
61 #. type: SH
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 #, no-wrap
65 msgid "LIBRARY"
66 msgstr "БИБЛИОТЕКА"
67
68 #. type: Plain text
69 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
70 #: opensuse-leap-16-1 opensuse-tumbleweed
71 msgid "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
72 msgstr "Библиотека потоков POSIX (I<libpthread>,\\ I<-lpthread>)"
73
74 #. type: SH
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "SYNOPSIS"
79 msgstr "СИНТАКСИС"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "B<#include E<lt>pthread.hE<gt>>\n"
86 msgstr "B<#include E<lt>pthread.hE<gt>>\n"
87
88 #. type: Plain text
89 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
90 #: opensuse-leap-16-1 opensuse-tumbleweed
91 #, fuzzy, no-wrap
92 #| msgid ""
93 #| "B<int pthread_atfork(void (*>I<prepare>B<)(void), void (*>I<parent>B<)(void),>\n"
94 #| "B< void (*>I<child>B<)(void));>\n"
95 msgid ""
96 "B<int pthread_atfork(typeof(void (void)) *>I<prepare>B<,>\n"
97 "B< typeof(void (void)) *>I<parent>B<,>\n"
98 "B< typeof(void (void)) *>I<child>B<);>\n"
99 msgstr ""
100 "B<int pthread_atfork(void (*>I<prepare>B<)(void), void (*>I<parent>B<)(void),>\n"
101 "B< void (*>I<child>B<)(void));>\n"
102
103 #. type: SH
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 #, no-wrap
107 msgid "DESCRIPTION"
108 msgstr "ОПИСАНИЕ"
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, fuzzy
114 #| msgid ""
115 #| "The B<pthread_atfork>() function registers fork handlers that are to be "
116 #| "executed when B<fork>(2) is called by this thread. The handlers are "
117 #| "executed in the context of the thread that calls B<fork>(2)."
118 msgid ""
119 "The B<pthread_atfork>() function registers fork handlers that are to be "
120 "executed when B<fork>(2) is called by any thread in a process. The "
121 "handlers are executed in the context of the thread that calls B<fork>(2)."
122 msgstr ""
123 "Функция B<pthread_atfork>() регистрирует обработчик ветвления, которые будут "
124 "запускаться при вызове B<fork>(2) этой нитью. Обработчики запускаются в "
125 "контексте нити, которая вызвала B<fork>(2)."
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 msgid "Three kinds of handler can be registered:"
131 msgstr "Можно регистрировать три типа обработчиков:"
132
133 #. type: IP
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 #, no-wrap
137 msgid "\\[bu]"
138 msgstr "\\[bu]"
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, fuzzy
144 #| msgid ""
145 #| "I<parent> specifies a handler that is executed in the parent process "
146 #| "after B<fork>(2) processing completes."
147 msgid ""
148 "I<prepare> specifies a handler that is executed in the parent process before "
149 "B<fork>(2) processing starts."
150 msgstr ""
151 "Типом I<parent> задаётся обработчик, который выполняется в родительском "
152 "процессе после завершения работы B<fork>(2)."
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "I<parent> specifies a handler that is executed in the parent process after "
159 "B<fork>(2) processing completes."
160 msgstr ""
161 "Типом I<parent> задаётся обработчик, который выполняется в родительском "
162 "процессе после завершения работы B<fork>(2)."
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 "I<child> specifies a handler that is executed in the child process after "
169 "B<fork>(2) processing completes."
170 msgstr ""
171 "Типом I<child> задаётся обработчик, который выполняется в потомке после "
172 "завершения работы B<fork>(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 "Any of the three arguments may be NULL if no handler is needed in the "
179 "corresponding phase of B<fork>(2) processing."
180 msgstr ""
181 "Любой из трёх аргументов может быть равен NULL, если обработчик не требуется "
182 "на соответствующем шаге работы B<fork>(2)."
183
184 #. type: SH
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 #, no-wrap
188 msgid "RETURN VALUE"
189 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
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 #, fuzzy
195 #| msgid ""
196 #| "On success, B<pthread_atfork>() returns zero. On error, it returns an "
197 #| "error number. B<pthread_atfork>() may be called multiple times by a "
198 #| "thread, to register multiple handlers for each phase. The handlers for "
199 #| "each phase are called in a specified order: the I<prepare> handlers are "
200 #| "called in reverse order of registration; the I<parent> and I<child> "
201 #| "handlers are called in the order of registration."
202 msgid ""
203 "On success, B<pthread_atfork>() returns zero. On error, it returns an "
204 "error number. B<pthread_atfork>() may be called multiple times by a "
205 "process to register additional handlers. The handlers for each phase are "
206 "called in a specified order: the I<prepare> handlers are called in reverse "
207 "order of registration; the I<parent> and I<child> handlers are called in the "
208 "order of registration."
209 msgstr ""
210 "При успешном выполнении B<pthread_atfork>() возвращается ноль. При ошибке "
211 "возвращается номер ошибки. Функция B<pthread_atfork>() может быть вызвана "
212 "нитью несколько раз для регистрации нескольких обработчиков каждого шага. "
213 "Обработчики каждого шага вызываются в определённом порядке: обработчики "
214 "I<prepare> вызываются в порядке обратном регистрации; обработчики I<parent> "
215 "и I<child> вызываются в порядке их регистрации."
216
217 #. type: SH
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "ERRORS"
222 msgstr "ОШИБКИ"
223
224 #. type: TP
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 #, no-wrap
228 msgid "B<ENOMEM>"
229 msgstr "B<ENOMEM>"
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, fuzzy
235 #| msgid "Could not allocate memory to record the form handler entry."
236 msgid "Could not allocate memory to record the fork handler list entry."
237 msgstr "Невозможно выделить память для записи элемента обработчика."
238
239 #. type: SH
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "STANDARDS"
244 msgstr "СТАНДАРТЫ"
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid "POSIX.1-2008."
250 msgstr "POSIX.1-2008."
251
252 #. type: SH
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "HISTORY"
257 msgstr "ИСТОРИЯ"
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid "POSIX.1-2001."
263 msgstr "POSIX.1-2001."
264
265 #. type: SH
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid "NOTES"
270 msgstr "ПРИМЕЧАНИЯ"
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, fuzzy
276 #| msgid ""
277 #| "When B<fork>(2) is called in a multithreaded process, only the calling "
278 #| "thread is duplicated in the child process. The original intention of "
279 #| "B<pthread_atfork>() was to allow the calling thread to be returned to a "
280 #| "consistent state. For example, at the time of the call to B<fork>(2), "
281 #| "other threads may have locked mutexes that are visible in the user-space "
282 #| "memory duplicated in the child. Such mutexes would never be unlocked, "
283 #| "since the threads that placed the locks are not duplicated in the child. "
284 #| "The intent of B<pthread_atfork>() was to provide a mechanism whereby the "
285 #| "application (or a library) could ensure that mutexes and other process "
286 #| "and thread state would be restored to a consistent state. In practice, "
287 #| "this task is generally too difficult to be practicable."
288 msgid ""
289 "When B<fork>(2) is called in a multithreaded process, only the calling "
290 "thread is duplicated in the child process. The original intention of "
291 "B<pthread_atfork>() was to allow the child process to be returned to a "
292 "consistent state. For example, at the time of the call to B<fork>(2), other "
293 "threads may have locked mutexes that are visible in the user-space memory "
294 "duplicated in the child. Such mutexes would never be unlocked, since the "
295 "threads that placed the locks are not duplicated in the child. The intent "
296 "of B<pthread_atfork>() was to provide a mechanism whereby the application "
297 "(or a library) could ensure that mutexes and other process and thread state "
298 "would be restored to a consistent state. In practice, this task is "
299 "generally too difficult to be practicable."
300 msgstr ""
301 "При вызове B<fork>(2) в многонитевом процессе в дочернем процессе делается "
302 "копия только вызвавшей нити. Первоначальной целью B<pthread_atfork>() было "
303 "позволить возвращаться в вызывающей нити в целостном состоянии. Например, на "
304 "момент вызова B<fork>(2) другие нити могут заблокировать мьютексы, которые "
305 "видимы в памяти пользовательского пространства копии в потомке. Такие "
306 "мьютексы никогда не разблокируются, так как нити, создавшие блокировку, не "
307 "копируются в потомок. Целью B<pthread_atfork>() было предоставить механизм, "
308 "позволяющий приложению (или библиотеке) сделать так, чтобы мьютексы, другой "
309 "процесс и состояние нити восстанавливались бы в целостном состоянии. На "
310 "практике, эта задача очень сложна для реализации."
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 "After a B<fork>(2) in a multithreaded process returns in the child, the "
317 "child should call only async-signal-safe functions (see B<signal-"
318 "safety>(7)) until such time as it calls B<execve>(2) to execute a new "
319 "program."
320 msgstr ""
321 "В многонитевом процессе B<fork>(2) возвращает управление в потомок; потомок "
322 "должен вызывать только функции async-signal-safe (смотрите B<signal-"
323 "safety>(7)) до момента, пока не вызовет B<execve>(2) для выполнения новой "
324 "программы."
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "POSIX.1 specifies that B<pthread_atfork>() shall not fail with the error "
331 "B<EINTR>."
332 msgstr ""
333 "В POSIX.1 указано, что B<pthread_atfork>() не должен завершаться ошибкой "
334 "B<EINTR>."
335
336 #. type: SH
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 #, no-wrap
340 msgid "SEE ALSO"
341 msgstr "СМОТРИТЕ ТАКЖЕ"
342
343 #. type: Plain text
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 msgid "B<fork>(2), B<atexit>(3), B<pthreads>(7)"
347 msgstr "B<fork>(2), B<atexit>(3), B<pthreads>(7)"
348
349 #. type: TH
350 #: debian-trixie
351 #, no-wrap
352 msgid "2024-05-02"
353 msgstr "2 мая 2024 г."
354
355 #. type: TH
356 #: debian-trixie
357 #, no-wrap
358 msgid "Linux man-pages 6.9.1"
359 msgstr "Страницы руководства Linux 6.9.1"
360
361 #. type: Plain text
362 #: debian-trixie
363 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
364 msgstr "Библиотека потоков POSIX (I<libpthread>, I<-lpthread>)"
365
366 #. type: Plain text
367 #: debian-trixie
368 #, no-wrap
369 msgid ""
370 "B<int pthread_atfork(void (*>I<prepare>B<)(void), void (*>I<parent>B<)(void),>\n"
371 "B< void (*>I<child>B<)(void));>\n"
372 msgstr ""
373 "B<int pthread_atfork(void (*>I<prepare>B<)(void), void (*>I<parent>B<)(void),>\n"
374 "B< void (*>I<child>B<)(void));>\n"
375
376 #. type: TH
377 #: fedora-44 fedora-rawhide
378 #, no-wrap
379 msgid "2024-12-13"
380 msgstr "13 декабря 2024 г."
381
382 #. type: TH
383 #: fedora-44 fedora-rawhide
384 #, no-wrap
385 msgid "Linux man-pages 6.13"
386 msgstr "Страницы руководства Linux 6.13"
387
388 #. type: TH
389 #: mageia-cauldron
390 #, no-wrap
391 msgid "Linux man-pages 6.17"
392 msgstr "Страницы руководства Linux 6.17"
393
394 #. type: TH
395 #: opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "Linux man-pages (unreleased)"
398 msgstr "Страницы руководства Linux (не выпущены)"