| 1 |
# Polish translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Przemek Borys <[email protected]>, 1999. |
| 5 |
# Andrzej Krzysztofowicz <[email protected]>, 2002. |
| 6 |
# Michał Kułach <[email protected]>, 2024, 2025. |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: manpages-l10n\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:32+0200\n" |
| 11 |
"PO-Revision-Date: 2025-11-24 22:16+0100\n" |
| 12 |
"Last-Translator: Michał Kułach <[email protected]>\n" |
| 13 |
"Language-Team: Polish <[email protected]>\n" |
| 14 |
"Language: pl\n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " |
| 19 |
"|| n%100>=20) ? 1 : 2);\n" |
| 20 |
"X-Generator: Lokalize 25.04.0\n" |
| 21 |
|
| 22 |
#. type: TH |
| 23 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 24 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 25 |
#, no-wrap |
| 26 |
msgid "nanosleep" |
| 27 |
msgstr "nanosleep" |
| 28 |
|
| 29 |
#. type: TH |
| 30 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 31 |
#: opensuse-tumbleweed |
| 32 |
#, no-wrap |
| 33 |
msgid "2026-02-08" |
| 34 |
msgstr "8 lutego 2026 r." |
| 35 |
|
| 36 |
#. type: TH |
| 37 |
#: archlinux debian-unstable |
| 38 |
#, no-wrap |
| 39 |
msgid "Linux man-pages 6.18" |
| 40 |
msgstr "Linux man-pages 6.18" |
| 41 |
|
| 42 |
#. type: SH |
| 43 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 44 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "NAME" |
| 47 |
msgstr "NAZWA" |
| 48 |
|
| 49 |
#. type: Plain text |
| 50 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 51 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 52 |
msgid "nanosleep - high-resolution sleep" |
| 53 |
msgstr "nanosleep - usypia z wysoką rozdzielczością" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "LIBRARY" |
| 60 |
msgstr "BIBLIOTEKA" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 64 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 66 |
msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)" |
| 67 |
|
| 68 |
#. type: SH |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
#, no-wrap |
| 72 |
msgid "SYNOPSIS" |
| 73 |
msgstr "SKŁADNIA" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 77 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
#, no-wrap |
| 79 |
msgid "B<#include E<lt>time.hE<gt>>\n" |
| 80 |
msgstr "B<#include E<lt>time.hE<gt>>\n" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 84 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 85 |
#, no-wrap |
| 86 |
msgid "" |
| 87 |
"B<int nanosleep(const struct timespec *>I<duration>B<,>\n" |
| 88 |
"B< struct timespec *_Nullable >I<rem>B<);>\n" |
| 89 |
msgstr "" |
| 90 |
"B<int nanosleep(const struct timespec *>I<duration>B<,>\n" |
| 91 |
"B< struct timespec *_Nullable >I<rem>B<);>\n" |
| 92 |
|
| 93 |
#. type: Plain text |
| 94 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 95 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 96 |
msgid "" |
| 97 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 98 |
msgstr "" |
| 99 |
"Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):" |
| 100 |
|
| 101 |
#. type: Plain text |
| 102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 104 |
msgid "B<nanosleep>():" |
| 105 |
msgstr "B<nanosleep>():" |
| 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 |
#, no-wrap |
| 111 |
msgid " _POSIX_C_SOURCE E<gt>= 199309L\n" |
| 112 |
msgstr " _POSIX_C_SOURCE E<gt>= 199309L\n" |
| 113 |
|
| 114 |
#. type: SH |
| 115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 117 |
#, no-wrap |
| 118 |
msgid "DESCRIPTION" |
| 119 |
msgstr "OPIS" |
| 120 |
|
| 121 |
#. type: Plain text |
| 122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 124 |
msgid "" |
| 125 |
"B<nanosleep>() suspends the execution of the calling thread until either at " |
| 126 |
"least the time specified in I<*duration> has elapsed, or the delivery of a " |
| 127 |
"signal that triggers the invocation of a handler in the calling thread or " |
| 128 |
"that terminates the process." |
| 129 |
msgstr "" |
| 130 |
"B<nanosleep>() zawiesza wykonywanie wywołującego wątku, dopóki nie upłynie " |
| 131 |
"co najmniej czas podany w I<*duration> albo dopóki nie zostanie dostarczony " |
| 132 |
"sygnał, który wyzwoli przywołanie procedury obsługi w wątku wywołującym lub " |
| 133 |
"który zakończy proces." |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
msgid "" |
| 139 |
"If the call is interrupted by a signal handler, B<nanosleep>() returns -1, " |
| 140 |
"sets I<errno> to B<EINTR>, and writes the remaining time into the structure " |
| 141 |
"pointed to by I<rem> unless I<rem> is NULL. The value of I<*rem> can then " |
| 142 |
"be used to call B<nanosleep>() again and complete the specified pause (but " |
| 143 |
"see NOTES)." |
| 144 |
msgstr "" |
| 145 |
"Jeśli wywołanie zostanie przerwane przez procedurę obsługi sygnału, " |
| 146 |
"B<nanosleep> zwróci -1, ustawi I<errno> na wartość B<EINTR> i zapisze " |
| 147 |
"pozostały czas do do struktury wskazywanej przez I<rem>, o ile I<rem> nie " |
| 148 |
"było równe NULL. Wartość I<*rem> można wykorzystać do ponownego wywołania " |
| 149 |
"B<nanosleep>() i dokończenia zadanej pauzy (jednak zob. UWAGI)." |
| 150 |
|
| 151 |
#. type: Plain text |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
msgid "" |
| 155 |
"The B<timespec>(3) structure is used to specify intervals of time with " |
| 156 |
"nanosecond precision." |
| 157 |
msgstr "" |
| 158 |
"Do podawania interwałów czasowych z dokładnością nanosekundową, używana jest " |
| 159 |
"struktura B<timespec>(3)." |
| 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 "The value of the nanoseconds field must be in the range [0, 999999999]." |
| 165 |
msgstr "Wartość pola nanosekund musi być w zakresie [0, 999999999]." |
| 166 |
|
| 167 |
#. type: Plain text |
| 168 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 169 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 170 |
msgid "" |
| 171 |
"Compared to B<sleep>(3) and B<usleep>(3), B<nanosleep>() has the following " |
| 172 |
"advantages: it provides a higher resolution for specifying the sleep " |
| 173 |
"interval; POSIX.1 explicitly specifies that it does not interact with " |
| 174 |
"signals; and it makes the task of resuming a sleep that has been interrupted " |
| 175 |
"by a signal handler easier." |
| 176 |
msgstr "" |
| 177 |
"W porównaniu ze B<sleep>(3) i B<usleep>(3), B<nanosleep> ma następujące " |
| 178 |
"zalety: oferuje wyższą rozdzielczość do określania czasu pauzy; POSIX.1 " |
| 179 |
"wyraźnie określa, że nie wpływają na nie sygnały; pozwala na łatwiejszą " |
| 180 |
"kontynuację uśpienia po przerwaniu przez procedurę obsługi sygnału." |
| 181 |
|
| 182 |
#. type: SH |
| 183 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 184 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 185 |
#, no-wrap |
| 186 |
msgid "RETURN VALUE" |
| 187 |
msgstr "WARTOŚĆ ZWRACANA" |
| 188 |
|
| 189 |
#. type: Plain text |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
msgid "" |
| 193 |
"On successfully sleeping for the requested duration, B<nanosleep>() returns " |
| 194 |
"0. If the call is interrupted by a signal handler or encounters an error, " |
| 195 |
"then it returns -1, with I<errno> set to indicate the error." |
| 196 |
msgstr "" |
| 197 |
"Po udanym spauzowaniu na żądany czas, B<nanosleep>() zwróci 0. Jeśli " |
| 198 |
"wywołanie przerwano przez procedurę obsługi sygnału lub wystąpi błąd, zwróci " |
| 199 |
"-1 i ustawi I<errno> wskazując błąd." |
| 200 |
|
| 201 |
#. type: SH |
| 202 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 203 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 204 |
#, no-wrap |
| 205 |
msgid "ERRORS" |
| 206 |
msgstr "BŁĘDY" |
| 207 |
|
| 208 |
#. type: TP |
| 209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 211 |
#, no-wrap |
| 212 |
msgid "B<EFAULT>" |
| 213 |
msgstr "B<EFAULT>" |
| 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 |
msgid "Problem with copying information from user space." |
| 219 |
msgstr "Problem z kopiowaniem informacji z przestrzeni użytkownika." |
| 220 |
|
| 221 |
#. type: TP |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
#, no-wrap |
| 225 |
msgid "B<EINTR>" |
| 226 |
msgstr "B<EINTR>" |
| 227 |
|
| 228 |
#. type: Plain text |
| 229 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 230 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 231 |
msgid "" |
| 232 |
"The pause has been interrupted by a signal that was delivered to the thread " |
| 233 |
"(see B<signal>(7)). The remaining sleep time has been written into I<*rem> " |
| 234 |
"so that the thread can easily call B<nanosleep>() again and continue with " |
| 235 |
"the pause." |
| 236 |
msgstr "" |
| 237 |
"Pauza została przerwana sygnałem, dostarczonym wątkowi (zob. B<signal>(7)). " |
| 238 |
"Pozostały czas uśpienia został zapisany do I<*rem>, więc wątek może łatwo " |
| 239 |
"wywołać ponownie B<nanosleep>() i dokończyć pauzę." |
| 240 |
|
| 241 |
#. type: TP |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
#, no-wrap |
| 245 |
msgid "B<EINVAL>" |
| 246 |
msgstr "B<EINVAL>" |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 250 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 251 |
msgid "" |
| 252 |
"The value in the I<tv_nsec> field was not in the range [0, 999999999] or " |
| 253 |
"I<tv_sec> was negative." |
| 254 |
msgstr "" |
| 255 |
"Wartość z pola I<tv_nsec> nie była w zakresie [0, 999999999] lub I<tv_sec> " |
| 256 |
"było ujemne." |
| 257 |
|
| 258 |
#. type: SH |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
#, no-wrap |
| 262 |
msgid "VERSIONS" |
| 263 |
msgstr "WERSJE" |
| 264 |
|
| 265 |
#. See also http://thread.gmane.org/gmane.linux.kernel/696854/ |
| 266 |
#. Subject: nanosleep() uses CLOCK_MONOTONIC, should be CLOCK_REALTIME? |
| 267 |
#. Date: 2008-06-22 07:35:41 GMT |
| 268 |
#. type: Plain text |
| 269 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 270 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 271 |
msgid "" |
| 272 |
"POSIX.1 specifies that B<nanosleep>() should measure time against the " |
| 273 |
"B<CLOCK_REALTIME> clock. However, Linux measures the time using the " |
| 274 |
"B<CLOCK_MONOTONIC> clock. This probably does not matter, since the POSIX.1 " |
| 275 |
"specification for B<clock_settime>(2) says that discontinuous changes in " |
| 276 |
"B<CLOCK_REALTIME> should not affect B<nanosleep>():" |
| 277 |
msgstr "" |
| 278 |
"POSIX.1 określa, że B<nanosleep>() powinno odmierzać czas zegarem " |
| 279 |
"B<CLOCK_REALTIME> (czasu rzeczywistego). Linux dokonuje tego jednak za " |
| 280 |
"pomocą zegara B<CLOCK_MONOTONIC> (czasu monotonicznego). Prawdopodobnie nie " |
| 281 |
"ma to znaczenia, gdyż norma POSIX.1 wobec B<clock_settime>(2) podaje, że " |
| 282 |
"skoki czasu w B<CLOCK_REALTIME> nie powinny wpływać na B<nanosleep>():" |
| 283 |
|
| 284 |
#. type: Plain text |
| 285 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 286 |
#: opensuse-tumbleweed |
| 287 |
msgid "" |
| 288 |
"Setting the value of the B<CLOCK_REALTIME> clock via B<clock_settime>(2) " |
| 289 |
"shall have no effect on threads that are blocked waiting for a relative time " |
| 290 |
"service based upon this clock, including the B<nanosleep>() function. " |
| 291 |
"Consequently, these time services shall expire when the requested duration " |
| 292 |
"elapses, independently of the new or old value of the clock." |
| 293 |
msgstr "" |
| 294 |
"Ustawienie wartości zegara B<CLOCK_REALTIME> za pomocą B<clock_settime>(2) " |
| 295 |
"nie powinno mieć wpływu na wątki, które są zablokowane w oczekiwaniu na " |
| 296 |
"usługę czasu względnego, opartą na tym zegarze, w tym funkcję " |
| 297 |
"B<nanosleep>(). Te usługi czasu powinny zatem wygasać, gdy upłynie żądany " |
| 298 |
"okres, niezależnie od nowej lub starej wartości zegara." |
| 299 |
|
| 300 |
#. type: SH |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
#, no-wrap |
| 304 |
msgid "STANDARDS" |
| 305 |
msgstr "STANDARDY" |
| 306 |
|
| 307 |
#. type: Plain text |
| 308 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 309 |
#: opensuse-tumbleweed |
| 310 |
msgid "POSIX.1-2024." |
| 311 |
msgstr "POSIX.1-2024." |
| 312 |
|
| 313 |
#. type: SH |
| 314 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 315 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 316 |
#, no-wrap |
| 317 |
msgid "HISTORY" |
| 318 |
msgstr "HISTORIA" |
| 319 |
|
| 320 |
#. type: Plain text |
| 321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 323 |
msgid "POSIX.1-2001." |
| 324 |
msgstr "POSIX.1-2001." |
| 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 |
"In order to support applications requiring much more precise pauses (e.g., " |
| 331 |
"in order to control some time-critical hardware), B<nanosleep>() would " |
| 332 |
"handle pauses of up to 2 milliseconds by busy waiting with microsecond " |
| 333 |
"precision when called from a thread scheduled under a real-time policy like " |
| 334 |
"B<SCHED_FIFO> or B<SCHED_RR>. This special extension was removed in Linux " |
| 335 |
"2.5.39, and is thus not available in Linux 2.6.0 and later kernels." |
| 336 |
msgstr "" |
| 337 |
"Aby wspierać aplikacje wymagające znacznie bardziej dokładnych pauz (np. aby " |
| 338 |
"sterować sprzętem o krytycznych zależnościach czasowych), B<nanosleep>() " |
| 339 |
"radziło sobie z pauzami do 2 milisekund w ten sposób, że oczekiwało z " |
| 340 |
"zajętością, z mikrosekundową precyzją, gdy było wywoływane przez wątek, " |
| 341 |
"działający według polityki czasu rzeczywistego, takiej jak I<SCHED_FIFO> czy " |
| 342 |
"I<SCHED_RR>. To specjalnie rozszerzenie zostało usunięte w Linuksie 2.5.39, " |
| 343 |
"dlatego nie jest już dostępne od jądra Linux 2.6.0." |
| 344 |
|
| 345 |
#. type: SH |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
#, no-wrap |
| 349 |
msgid "NOTES" |
| 350 |
msgstr "UWAGI" |
| 351 |
|
| 352 |
#. type: Plain text |
| 353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 355 |
msgid "" |
| 356 |
"If the I<duration> is not an exact multiple of the granularity underlying " |
| 357 |
"clock (see B<time>(7)), then the interval will be rounded up to the next " |
| 358 |
"multiple. Furthermore, after the sleep completes, there may still be a " |
| 359 |
"delay before the CPU becomes free to once again execute the calling thread." |
| 360 |
msgstr "" |
| 361 |
"Jeśli I<duration> nie jest dokładnie wielokrotnością rozdzielczości " |
| 362 |
"przedmiotowego zegara (zob. B<time>(7), to interwał ten zostanie zaokrąglony " |
| 363 |
"w górę, do następnej wielokrotności. Co więcej, po zakończenia pauzy, wciąż " |
| 364 |
"może wystąpić zwłoka przez ponownym zwolnieniem procesora w celu ponownego " |
| 365 |
"wykonania wątku wywołującego." |
| 366 |
|
| 367 |
#. type: Plain text |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
msgid "" |
| 371 |
"The fact that B<nanosleep>() sleeps for a relative interval can be " |
| 372 |
"problematic if the call is repeatedly restarted after being interrupted by " |
| 373 |
"signals, since the time between the interruptions and restarts of the call " |
| 374 |
"will lead to drift in the time when the sleep finally completes. This " |
| 375 |
"problem can be avoided by using B<clock_nanosleep>(2) with an absolute time " |
| 376 |
"value." |
| 377 |
msgstr "" |
| 378 |
"Fakt, że B<nanosleep>() pauzuje na interwał względny może być " |
| 379 |
"problematyczny, jeśli wywołanie jest ponownie restartowane po otrzymaniu " |
| 380 |
"sygnałów przerwania, ponieważ czas pomiędzy każdym restartem i przerwaniem " |
| 381 |
"wywołania, spowoduje przesunięcie czasu, w jakim pauza się ostatecznie " |
| 382 |
"zakończy. Problemu tego można uniknąć, używając B<clock_nanosleep>(2) z " |
| 383 |
"bezwzględną wartością czasu." |
| 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 "BUGS" |
| 390 |
msgstr "USTERKI" |
| 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 |
msgid "" |
| 396 |
"If a program that catches signals and uses B<nanosleep>() receives signals " |
| 397 |
"at a very high rate, then scheduling delays and rounding errors in the " |
| 398 |
"kernel's calculation of the sleep interval and the returned I<remain> value " |
| 399 |
"mean that the I<remain> value may steadily I<increase> on successive " |
| 400 |
"restarts of the B<nanosleep>() call. To avoid such problems, use " |
| 401 |
"B<clock_nanosleep>(2) with the B<TIMER_ABSTIME> flag to sleep to an " |
| 402 |
"absolute deadline." |
| 403 |
msgstr "" |
| 404 |
"Jeśli program przechwytujący sygnały i używający B<nanosleep>() będzie " |
| 405 |
"otrzymywał sygnały z dużą częstością, to przydzielanie zasobów powoduje " |
| 406 |
"opóźnienia i błędy zaokrąglenia w obliczeniach, dotyczących interwału pauzy " |
| 407 |
"oraz zwracanej wartości I<remain>, które dokonuje jądro, co oznacza, że " |
| 408 |
"wartość I<remain> może systematycznie I<rosnąć> po kolejnych restartach " |
| 409 |
"wywołania B<nanosleep>(). Aby uniknąć tego typu problemów, należy korzystać " |
| 410 |
"z B<clock_nanosleep>(2) ze znacznikiem B<TIMER_ABSTIME>, aby pauzować do " |
| 411 |
"terminu określonego bezwzględnie." |
| 412 |
|
| 413 |
#. type: Plain text |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
msgid "" |
| 417 |
"In Linux 2.4, if B<nanosleep>() is stopped by a signal (e.g., B<SIGTSTP>), " |
| 418 |
"then the call fails with the error B<EINTR> after the thread is resumed by a " |
| 419 |
"B<SIGCONT> signal. If the system call is subsequently restarted, then the " |
| 420 |
"time that the thread spent in the stopped state is I<not> counted against " |
| 421 |
"the sleep interval. This problem is fixed in Linux 2.6.0 and later kernels." |
| 422 |
msgstr "" |
| 423 |
"W Linuksie 2.4, jeśli B<nanosleep>() zostanie zatrzymane sygnałem (np. " |
| 424 |
"B<SIGTSTP>), to wywołanie zawodzi z błędem B<EINTR> po tym, jak wątek " |
| 425 |
"zostanie wznowiony sygnałem B<SIGCONT>. Jeśli wywołanie systemowe zostanie " |
| 426 |
"później zrestartowane, to czas jaki wątek spędził w stanie zatrzymanym " |
| 427 |
"I<nie> jest liczony do czasu pauzy. Problem naprawiono w Linuksie 2.6.0 i " |
| 428 |
"kolejnych jądrach." |
| 429 |
|
| 430 |
#. type: SH |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
#, no-wrap |
| 434 |
msgid "SEE ALSO" |
| 435 |
msgstr "ZOBACZ TAKŻE" |
| 436 |
|
| 437 |
#. type: Plain text |
| 438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 440 |
msgid "" |
| 441 |
"B<clock_nanosleep>(2), B<restart_syscall>(2), B<sched_setscheduler>(2), " |
| 442 |
"B<timer_create>(2), B<sleep>(3), B<timespec>(3), B<usleep>(3), B<time>(7)" |
| 443 |
msgstr "" |
| 444 |
"B<clock_nanosleep>(2), B<restart_syscall>(2), B<sched_setscheduler>(2), " |
| 445 |
"B<timer_create>(2), B<sleep>(3), B<timespec>(3), B<usleep>(3), B<time>(7)" |
| 446 |
|
| 447 |
#. type: TH |
| 448 |
#: debian-trixie |
| 449 |
#, no-wrap |
| 450 |
msgid "2024-05-02" |
| 451 |
msgstr "2 maja 2024 r." |
| 452 |
|
| 453 |
#. type: TH |
| 454 |
#: debian-trixie |
| 455 |
#, no-wrap |
| 456 |
msgid "Linux man-pages 6.9.1" |
| 457 |
msgstr "Linux man-pages 6.9.1" |
| 458 |
|
| 459 |
#. type: Plain text |
| 460 |
#: debian-trixie |
| 461 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 462 |
msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)" |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: debian-trixie fedora-44 fedora-rawhide |
| 466 |
msgid "" |
| 467 |
"Setting the value of the B<CLOCK_REALTIME> clock via B<clock_settime>(2) " |
| 468 |
"shall have no effect on threads that are blocked waiting for a relative time " |
| 469 |
"service based upon this clock, including the B<nanosleep>() function; ... " |
| 470 |
"Consequently, these time services shall expire when the requested duration " |
| 471 |
"elapses, independently of the new or old value of the clock." |
| 472 |
msgstr "" |
| 473 |
"Ustawienie wartości zegara B<CLOCK_REALTIME> za pomocą B<clock_settime>(2) " |
| 474 |
"nie powinno mieć wpływu na wątki, które są zablokowane w oczekiwaniu na " |
| 475 |
"usługę czasu względnego, opartą na tym zegarze, w tym funkcję " |
| 476 |
"B<nanosleep>(); ... Te usługi czasu powinny zatem wygasać, gdy upłynie " |
| 477 |
"żądany okres, niezależnie od nowej lub starej wartości zegara." |
| 478 |
|
| 479 |
#. type: Plain text |
| 480 |
#: debian-trixie fedora-44 fedora-rawhide |
| 481 |
msgid "POSIX.1-2008." |
| 482 |
msgstr "POSIX.1-2008." |
| 483 |
|
| 484 |
#. type: TH |
| 485 |
#: fedora-44 fedora-rawhide |
| 486 |
#, no-wrap |
| 487 |
msgid "2024-07-23" |
| 488 |
msgstr "23 lipca 2024 r." |
| 489 |
|
| 490 |
#. type: TH |
| 491 |
#: fedora-44 fedora-rawhide |
| 492 |
#, no-wrap |
| 493 |
msgid "Linux man-pages 6.13" |
| 494 |
msgstr "Linux man-pages 6.13" |
| 495 |
|
| 496 |
#. type: TH |
| 497 |
#: mageia-cauldron |
| 498 |
#, no-wrap |
| 499 |
msgid "Linux man-pages 6.17" |
| 500 |
msgstr "Linux man-pages 6.17" |
| 501 |
|
| 502 |
#. type: TH |
| 503 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 504 |
#, no-wrap |
| 505 |
msgid "Linux man-pages (unreleased)" |
| 506 |
msgstr "Linux man-pages (niewydane)" |