Debian Codegraph @

po/ru/man2/nanosleep.2.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 # Alex Nik <[email protected]>, 2013.
5 # Azamat Hackimov <[email protected]>, 2013, 2016.
6 # Dmitry Bolkhovskikh <[email protected]>, 2017.
7 # Yuri Kozlov <[email protected]>, 2011-2019.
8 # Иван Павлов <[email protected]>, 2017.
9 msgid ""
10 msgstr ""
11 "Project-Id-Version: manpages-l10n\n"
12 "POT-Creation-Date: 2026-06-05 06:32+0200\n"
13 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
14 "Last-Translator: Yuri Kozlov <[email protected]>\n"
15 "Language-Team: Russian <[email protected]>\n"
16 "Language: ru\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
21 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
22 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
23 "X-Generator: Lokalize 2.0\n"
24
25 #. type: TH
26 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
27 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
28 #, no-wrap
29 msgid "nanosleep"
30 msgstr "nanosleep"
31
32 #. type: TH
33 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
34 #: opensuse-tumbleweed
35 #, no-wrap
36 msgid "2026-02-08"
37 msgstr "8 февраля 2026 г."
38
39 #. type: TH
40 #: archlinux debian-unstable
41 #, fuzzy, no-wrap
42 #| msgid "Linux man-pages 6.17"
43 msgid "Linux man-pages 6.18"
44 msgstr "Справочные страницы Linux 6.17"
45
46 #. type: SH
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 #, no-wrap
50 msgid "NAME"
51 msgstr "НАИМЕНОВАНИЕ"
52
53 #. type: Plain text
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 msgid "nanosleep - high-resolution sleep"
57 msgstr "nanosleep - остановка работы процесса с более точным указанием периода"
58
59 #. type: SH
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "LIBRARY"
64 msgstr "БИБЛИОТЕКА"
65
66 #. type: Plain text
67 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
68 #: opensuse-leap-16-1 opensuse-tumbleweed
69 msgid "Standard C library (I<libc>,\\ I<-lc>)"
70 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
71
72 #. type: SH
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "SYNOPSIS"
77 msgstr "СИНТАКСИС"
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<#include E<lt>time.hE<gt>>\n"
84 msgstr "B<#include E<lt>time.hE<gt>>\n"
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 #, fuzzy, no-wrap
90 #| msgid "B<int nanosleep(const struct timespec *>I<req>B<, struct timespec *>I<rem>B<);>\n"
91 msgid ""
92 "B<int nanosleep(const struct timespec *>I<duration>B<,>\n"
93 "B< struct timespec *_Nullable >I<rem>B<);>\n"
94 msgstr "B<int nanosleep(const struct timespec *>I<req>B<, struct timespec *>I<rem>B<);>\n"
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 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
101 msgstr ""
102 "Требования макроса тестирования свойств для glibc (см. "
103 "B<feature_test_macros>(7)):"
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid "B<nanosleep>():"
109 msgstr "B<nanosleep>():"
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid " _POSIX_C_SOURCE E<gt>= 199309L\n"
116 msgstr " _POSIX_C_SOURCE E<gt>= 199309L\n"
117
118 #. type: SH
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 #, no-wrap
122 msgid "DESCRIPTION"
123 msgstr "ОПИСАНИЕ"
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 #, fuzzy
129 #| msgid ""
130 #| "B<nanosleep>() suspends the execution of the calling thread until either "
131 #| "at least the time specified in I<*req> has elapsed, or the delivery of a "
132 #| "signal that triggers the invocation of a handler in the calling thread or "
133 #| "that terminates the process."
134 msgid ""
135 "B<nanosleep>() suspends the execution of the calling thread until either at "
136 "least the time specified in I<*duration> has elapsed, or the delivery of a "
137 "signal that triggers the invocation of a handler in the calling thread or "
138 "that terminates the process."
139 msgstr ""
140 "B<nanosleep>() приостанавливает работу вызывающей нити как минимум на время, "
141 "заданное параметром I<*req>, или до получения сигнала, который вызовет "
142 "обработчик в вызывающей нити, или приведёт к завершению процесса."
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "If the call is interrupted by a signal handler, B<nanosleep>() returns -1, "
149 "sets I<errno> to B<EINTR>, and writes the remaining time into the structure "
150 "pointed to by I<rem> unless I<rem> is NULL. The value of I<*rem> can then "
151 "be used to call B<nanosleep>() again and complete the specified pause (but "
152 "see NOTES)."
153 msgstr ""
154 "Если вызов прерван обработчиком сигнала, то B<nanosleep>() возвращает -1, "
155 "устанавливает I<errno> в значение B<EINTR> и записывает оставшееся время в "
156 "структуру, на которую указывает I<rem>, если значение I<rem> не равно NULL. "
157 "Значение I<*rem> можно использовать для повторения вызова B<nanosleep>() и "
158 "продления окончания ожидания интервала (но см. ЗАМЕЧАНИЯ)."
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 #, fuzzy
164 #| msgid ""
165 #| "The structure I<timespec> is used to specify intervals of time with "
166 #| "nanosecond precision. It is defined as follows:"
167 msgid ""
168 "The B<timespec>(3) structure is used to specify intervals of time with "
169 "nanosecond precision."
170 msgstr ""
171 "Структура I<timespec> позволяет задавать интервалы времени с точностью до "
172 "наносекунды. Она определена следующим образом:"
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 #, fuzzy
178 #| msgid ""
179 #| "The value of the nanoseconds field must be in the range 0 to 999999999."
180 msgid "The value of the nanoseconds field must be in the range [0, 999999999]."
181 msgstr ""
182 "Значение поля наносекунд должно находиться в диапазоне от 0 до 999999999."
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 msgid ""
188 "Compared to B<sleep>(3) and B<usleep>(3), B<nanosleep>() has the following "
189 "advantages: it provides a higher resolution for specifying the sleep "
190 "interval; POSIX.1 explicitly specifies that it does not interact with "
191 "signals; and it makes the task of resuming a sleep that has been interrupted "
192 "by a signal handler easier."
193 msgstr ""
194 "По сравнению с B<sleep>(3) и B<usleep>(3), в B<nanosleep>() есть следующие "
195 "достоинства: он позволяет задавать более точные интервалы времени, в POSIX.1 "
196 "явно определено то, что он не влияет на сигналы, и позволяет более лёгким "
197 "способом возобновить паузу после прерывания сигналом."
198
199 #. type: SH
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "RETURN VALUE"
204 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
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 #, fuzzy
210 #| msgid ""
211 #| "On successfully sleeping for the requested interval, B<nanosleep>() "
212 #| "returns 0. If the call is interrupted by a signal handler or encounters "
213 #| "an error, then it returns -1, with I<errno> set to indicate the error."
214 msgid ""
215 "On successfully sleeping for the requested duration, B<nanosleep>() returns "
216 "0. If the call is interrupted by a signal handler or encounters an error, "
217 "then it returns -1, with I<errno> set to indicate the error."
218 msgstr ""
219 "При удачной остановке на заданное время возвращаемое B<nanosleep>() значение "
220 "равно нулю. Если вызов прерван обработчиком сигнала или произошла ошибка, то "
221 "возвращается -1, а переменной I<errno> присваивается номер ошибки."
222
223 #. type: SH
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 #, no-wrap
227 msgid "ERRORS"
228 msgstr "ОШИБКИ"
229
230 #. type: TP
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "B<EFAULT>"
235 msgstr "B<EFAULT>"
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid "Problem with copying information from user space."
241 msgstr "Проблема с копированием информации из пространства пользователя."
242
243 #. type: TP
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid "B<EINTR>"
248 msgstr "B<EINTR>"
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 "The pause has been interrupted by a signal that was delivered to the thread "
255 "(see B<signal>(7)). The remaining sleep time has been written into I<*rem> "
256 "so that the thread can easily call B<nanosleep>() again and continue with "
257 "the pause."
258 msgstr ""
259 "Пауза была прервана сигналом, отправленным нити (смотрите B<signal>(7)). "
260 "Оставшееся время записано в I<*rem> для того, чтобы нить могла вызвать "
261 "B<nanosleep>() снова для возобновления паузы."
262
263 #. type: TP
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "B<EINVAL>"
268 msgstr "B<EINVAL>"
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "The value in the I<tv_nsec> field was not in the range [0, 999999999] or "
275 "I<tv_sec> was negative."
276 msgstr ""
277 "Значение в поле I<tv_nsec> не находилось в диапазоне [0, 999999999] или "
278 "I<tv_nsec> было отрицательным."
279
280 #. type: SH
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "VERSIONS"
285 msgstr "ВЕРСИИ"
286
287 #. See also http://thread.gmane.org/gmane.linux.kernel/696854/
288 #. Subject: nanosleep() uses CLOCK_MONOTONIC, should be CLOCK_REALTIME?
289 #. Date: 2008-06-22 07:35:41 GMT
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid ""
294 "POSIX.1 specifies that B<nanosleep>() should measure time against the "
295 "B<CLOCK_REALTIME> clock. However, Linux measures the time using the "
296 "B<CLOCK_MONOTONIC> clock. This probably does not matter, since the POSIX.1 "
297 "specification for B<clock_settime>(2) says that discontinuous changes in "
298 "B<CLOCK_REALTIME> should not affect B<nanosleep>():"
299 msgstr ""
300 "В POSIX.1 указано, что B<nanosleep>() должен измерять время по часам "
301 "B<CLOCK_REALTIME>. Однако, в Linux время измеряется с помощью часов "
302 "B<CLOCK_MONOTONIC>. Это, скорее всего, не важно, так как в спецификации "
303 "POSIX.1 для B<clock_settime>(2) указано, что быстро происходящие изменения в "
304 "B<CLOCK_REALTIME> не должны влиять на B<nanosleep>():"
305
306 #. type: Plain text
307 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
308 #: opensuse-tumbleweed
309 #, fuzzy
310 #| msgid ""
311 #| "Setting the value of the B<CLOCK_REALTIME> clock via B<clock_settime>(2) "
312 #| "shall have no effect on threads that are blocked waiting for a relative "
313 #| "time service based upon this clock, including the B<nanosleep>() "
314 #| "function; ... Consequently, these time services shall expire when the "
315 #| "requested relative interval elapses, independently of the new or old "
316 #| "value of the clock."
317 msgid ""
318 "Setting the value of the B<CLOCK_REALTIME> clock via B<clock_settime>(2) "
319 "shall have no effect on threads that are blocked waiting for a relative time "
320 "service based upon this clock, including the B<nanosleep>() function. "
321 "Consequently, these time services shall expire when the requested duration "
322 "elapses, independently of the new or old value of the clock."
323 msgstr ""
324 "Установка значения часов B<CLOCK_REALTIME> с помощью B<clock_settime>(2) не "
325 "оказывает влияния на нити, которые находятся в состоянии простоя из-за "
326 "служб, работа которых основана на этих часах, включая функцию "
327 "B<nanosleep>(); ... В результате, интервал данных служб истечёт, когда "
328 "истечёт запрошенный относительный интервал, независимо от нового или старого "
329 "значения часов."
330
331 #. type: SH
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "STANDARDS"
336 msgstr "СТАНДАРТЫ"
337
338 #. type: Plain text
339 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
340 #: opensuse-tumbleweed
341 msgid "POSIX.1-2024."
342 msgstr "POSIX.1-2024."
343
344 #. type: SH
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "HISTORY"
349 msgstr "ИСТОРИЯ"
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid "POSIX.1-2001."
355 msgstr "POSIX.1-2001."
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, fuzzy
361 #| msgid ""
362 #| "In order to support applications requiring much more precise pauses "
363 #| "(e.g., in order to control some time-critical hardware), B<nanosleep>() "
364 #| "would handle pauses of up to 2 milliseconds by busy waiting with "
365 #| "microsecond precision when called from a thread scheduled under a real-"
366 #| "time policy like B<SCHED_FIFO> or B<SCHED_RR>. This special extension "
367 #| "was removed in kernel 2.5.39, and is thus not available in Linux 2.6.0 "
368 #| "and later kernels."
369 msgid ""
370 "In order to support applications requiring much more precise pauses (e.g., "
371 "in order to control some time-critical hardware), B<nanosleep>() would "
372 "handle pauses of up to 2 milliseconds by busy waiting with microsecond "
373 "precision when called from a thread scheduled under a real-time policy like "
374 "B<SCHED_FIFO> or B<SCHED_RR>. This special extension was removed in Linux "
375 "2.5.39, and is thus not available in Linux 2.6.0 and later kernels."
376 msgstr ""
377 "Для поддержки приложений, которым требуется указывать более точное время "
378 "простоя (например, чтобы управлять оборудованием, критичным к временным "
379 "интервалам), B<nanosleep>() выдерживает время простоя до 2\\ мс с "
380 "микросекундной точностью, если вызывается из нити, запланированной "
381 "выполняться в реальном времени с помощью B<SCHED_FIFO> или B<SCHED_RR>. Это "
382 "специальное расширение было удалено из ядра 2.5.39, и поэтому недоступно в "
383 "Linux версии 2.6.0 и более новых ядрах."
384
385 #. type: SH
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "NOTES"
390 msgstr "ПРИМЕЧАНИЯ"
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, fuzzy
396 #| msgid ""
397 #| "If the interval specified in I<req> is not an exact multiple of the "
398 #| "granularity underlying clock (see B<time>(7)), then the interval will be "
399 #| "rounded up to the next multiple. Furthermore, after the sleep completes, "
400 #| "there may still be a delay before the CPU becomes free to once again "
401 #| "execute the calling thread."
402 msgid ""
403 "If the I<duration> is not an exact multiple of the granularity underlying "
404 "clock (see B<time>(7)), then the interval will be rounded up to the next "
405 "multiple. Furthermore, after the sleep completes, there may still be a "
406 "delay before the CPU becomes free to once again execute the calling thread."
407 msgstr ""
408 "Если интервал, указанный в I<req>, не кратен степени разрешения используемых "
409 "часов (см. B<time>(7)), то интервал будет округлён до следующего кратного "
410 "значения. Также, после окончания интервала приостановки может возникнуть "
411 "задержка перед тем, как ЦП освободится снова для следующего выполнения "
412 "вызывающей нити."
413
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 msgid ""
418 "The fact that B<nanosleep>() sleeps for a relative interval can be "
419 "problematic if the call is repeatedly restarted after being interrupted by "
420 "signals, since the time between the interruptions and restarts of the call "
421 "will lead to drift in the time when the sleep finally completes. This "
422 "problem can be avoided by using B<clock_nanosleep>(2) with an absolute time "
423 "value."
424 msgstr ""
425 "Тот факт, что B<nanosleep>() вызывает приостановку на относительный "
426 "интервал, может привести к проблемам, если вызов постоянно перезапускается "
427 "после прерывания по сигналу, так как время между прерываниями и перезапуском "
428 "вызова будет приводить к временному смещению полного завершения "
429 "приостановки. Этой проблемы можно избежать, если использовать "
430 "B<clock_nanosleep>(2) с абсолютными величинами времени."
431
432 #. type: SH
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "BUGS"
437 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 msgid ""
443 "If a program that catches signals and uses B<nanosleep>() receives signals "
444 "at a very high rate, then scheduling delays and rounding errors in the "
445 "kernel's calculation of the sleep interval and the returned I<remain> value "
446 "mean that the I<remain> value may steadily I<increase> on successive "
447 "restarts of the B<nanosleep>() call. To avoid such problems, use "
448 "B<clock_nanosleep>(2) with the B<TIMER_ABSTIME> flag to sleep to an "
449 "absolute deadline."
450 msgstr ""
451 "Если программа, обрабатывающая сигналы и использующая B<nanosleep>(), "
452 "принимает сигналы с очень высокой частотой, то возникают задержки "
453 "планирования и ошибки округления в ядерных подсчётах интервала сна и "
454 "возвращается значение I<остатка>, на которое можно уверенно I<увеличивать> "
455 "интервал при последующем перезапуске вызова B<nanosleep>(). Чтобы избежать "
456 "таких проблем используйте B<clock_nanosleep>(2) с флагом B<TIMER_ABSTIME>, "
457 "чтобы спать до абсолютного конечного срока."
458
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 msgid ""
463 "In Linux 2.4, if B<nanosleep>() is stopped by a signal (e.g., B<SIGTSTP>), "
464 "then the call fails with the error B<EINTR> after the thread is resumed by a "
465 "B<SIGCONT> signal. If the system call is subsequently restarted, then the "
466 "time that the thread spent in the stopped state is I<not> counted against "
467 "the sleep interval. This problem is fixed in Linux 2.6.0 and later kernels."
468 msgstr ""
469 "В Linux 2.4, если B<nanosleep>() останавливается по сигналу (например, "
470 "B<SIGTSTP>), то после того, как нить продолжит работу по сигналу B<SIGCONT>, "
471 "вызов завершится неудачно с ошибкой B<EINTR>. Если системный вызов после "
472 "этого перезапускается, то время, которое нить провела в остановленном "
473 "состоянии, I<не> учитывается в интервале остановки. Эта проблема исправлена "
474 "в Linux 2.6.0 и новее."
475
476 #. type: SH
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 #, no-wrap
480 msgid "SEE ALSO"
481 msgstr "СМОТРИТЕ ТАКЖЕ"
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid ""
487 "B<clock_nanosleep>(2), B<restart_syscall>(2), B<sched_setscheduler>(2), "
488 "B<timer_create>(2), B<sleep>(3), B<timespec>(3), B<usleep>(3), B<time>(7)"
489 msgstr ""
490 "B<clock_nanosleep>(2), B<restart_syscall>(2), B<sched_setscheduler>(2), "
491 "B<timer_create>(2), B<sleep>(3), B<timespec>(3), B<usleep>(3), B<time>(7)"
492
493 #. type: TH
494 #: debian-trixie
495 #, no-wrap
496 msgid "2024-05-02"
497 msgstr "2 мая 2024 г."
498
499 #. type: TH
500 #: debian-trixie
501 #, no-wrap
502 msgid "Linux man-pages 6.9.1"
503 msgstr "Страницы руководства Linux 6.9.1"
504
505 #. type: Plain text
506 #: debian-trixie
507 msgid "Standard C library (I<libc>, I<-lc>)"
508 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
509
510 #. type: Plain text
511 #: debian-trixie fedora-44 fedora-rawhide
512 #, fuzzy
513 #| msgid ""
514 #| "Setting the value of the B<CLOCK_REALTIME> clock via B<clock_settime>(2) "
515 #| "shall have no effect on threads that are blocked waiting for a relative "
516 #| "time service based upon this clock, including the B<nanosleep>() "
517 #| "function; ... Consequently, these time services shall expire when the "
518 #| "requested relative interval elapses, independently of the new or old "
519 #| "value of the clock."
520 msgid ""
521 "Setting the value of the B<CLOCK_REALTIME> clock via B<clock_settime>(2) "
522 "shall have no effect on threads that are blocked waiting for a relative time "
523 "service based upon this clock, including the B<nanosleep>() function; ... "
524 "Consequently, these time services shall expire when the requested duration "
525 "elapses, independently of the new or old value of the clock."
526 msgstr ""
527 "Установка значения часов B<CLOCK_REALTIME> с помощью B<clock_settime>(2) не "
528 "оказывает влияния на нити, которые находятся в состоянии простоя из-за "
529 "служб, работа которых основана на этих часах, включая функцию "
530 "B<nanosleep>(); ... В результате, интервал данных служб истечёт, когда "
531 "истечёт запрошенный относительный интервал, независимо от нового или старого "
532 "значения часов."
533
534 #. type: Plain text
535 #: debian-trixie fedora-44 fedora-rawhide
536 msgid "POSIX.1-2008."
537 msgstr "POSIX.1-2008."
538
539 #. type: TH
540 #: fedora-44 fedora-rawhide
541 #, no-wrap
542 msgid "2024-07-23"
543 msgstr "23 июля 2024 г."
544
545 #. type: TH
546 #: fedora-44 fedora-rawhide
547 #, no-wrap
548 msgid "Linux man-pages 6.13"
549 msgstr "Страницы руководства Linux 6.13"
550
551 #. type: TH
552 #: mageia-cauldron
553 #, no-wrap
554 msgid "Linux man-pages 6.17"
555 msgstr "Страницы руководства Linux 6.17"
556
557 #. type: TH
558 #: opensuse-leap-16-1 opensuse-tumbleweed
559 #, no-wrap
560 msgid "Linux man-pages (unreleased)"
561 msgstr "Страницы руководства Linux (не выпущены)"