| 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_attr_setstack" |
| 32 |
msgstr "" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 36 |
#: opensuse-tumbleweed |
| 37 |
#, no-wrap |
| 38 |
msgid "2025-06-28" |
| 39 |
msgstr "28 июня 2025 г." |
| 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 "" |
| 59 |
"pthread_attr_setstack, pthread_attr_getstack - set/get stack attributes in " |
| 60 |
"thread attributes object" |
| 61 |
msgstr "" |
| 62 |
"pthread_attr_setstack, pthread_attr_getstack - изменяет/возвращает атрибуты " |
| 63 |
"стека из объекта атрибутов нити" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "LIBRARY" |
| 70 |
msgstr "БИБЛИОТЕКА" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 74 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
msgid "POSIX threads library (I<libpthread>,\\ I<-lpthread>)" |
| 76 |
msgstr "Библиотека потоков POSIX (I<libpthread>,\\ I<-lpthread>)" |
| 77 |
|
| 78 |
#. type: SH |
| 79 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 80 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 81 |
#, no-wrap |
| 82 |
msgid "SYNOPSIS" |
| 83 |
msgstr "СИНТАКСИС" |
| 84 |
|
| 85 |
#. type: Plain text |
| 86 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 87 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 88 |
#, no-wrap |
| 89 |
msgid "B<#include E<lt>pthread.hE<gt>>\n" |
| 90 |
msgstr "B<#include E<lt>pthread.hE<gt>>\n" |
| 91 |
|
| 92 |
#. type: Plain text |
| 93 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 94 |
#: opensuse-tumbleweed |
| 95 |
#, fuzzy, no-wrap |
| 96 |
#| msgid "" |
| 97 |
#| "B<int pthread_attr_setstack(pthread_attr_t *>I<attr>B<,>\n" |
| 98 |
#| "B< void *>I<stackaddr>B<, size_t >I<stacksize>B<);>\n" |
| 99 |
#| "B<int pthread_attr_getstack(const pthread_attr_t *>I<attr>B<,>\n" |
| 100 |
#| "B< void **>I<stackaddr>B<, size_t *>I<stacksize>B<);>\n" |
| 101 |
msgid "" |
| 102 |
"B<int pthread_attr_setstack(>size_t stacksize;\n" |
| 103 |
"B< pthread_attr_t *>I<attr>B<,>\n" |
| 104 |
"B< void >I<stackaddr>B<[>I<stacksize>B<],>\n" |
| 105 |
"B< size_t >I<stacksize>B<);>\n" |
| 106 |
"B<int pthread_attr_getstack(const pthread_attr_t *restrict >I<attr>B<,>\n" |
| 107 |
"B< void **restrict >I<stackaddr>B<,>\n" |
| 108 |
"B< size_t *restrict >I<stacksize>B<);>\n" |
| 109 |
msgstr "" |
| 110 |
"B<int pthread_attr_setstack(pthread_attr_t *>I<attr>B<,>\n" |
| 111 |
"B< void *>I<stackaddr>B<, size_t >I<stacksize>B<);>\n" |
| 112 |
"B<int pthread_attr_getstack(const pthread_attr_t *>I<attr>B<,>\n" |
| 113 |
"B< void **>I<stackaddr>B<, size_t *>I<stacksize>B<);>\n" |
| 114 |
|
| 115 |
#. type: Plain text |
| 116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 118 |
msgid "" |
| 119 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 120 |
msgstr "" |
| 121 |
"Требования макроса тестирования свойств для glibc (см. " |
| 122 |
"B<feature_test_macros>(7)):" |
| 123 |
|
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 127 |
msgid "B<pthread_attr_getstack>(), B<pthread_attr_setstack>():" |
| 128 |
msgstr "B<pthread_attr_getstack>(), B<pthread_attr_setstack>():" |
| 129 |
|
| 130 |
#. type: Plain text |
| 131 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 132 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 133 |
#, no-wrap |
| 134 |
msgid " _POSIX_C_SOURCE E<gt>= 200112L\n" |
| 135 |
msgstr " _POSIX_C_SOURCE E<gt>= 200112L\n" |
| 136 |
|
| 137 |
#. type: SH |
| 138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 140 |
#, no-wrap |
| 141 |
msgid "DESCRIPTION" |
| 142 |
msgstr "ОПИСАНИЕ" |
| 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 |
"The B<pthread_attr_setstack>() function sets the stack address and stack " |
| 149 |
"size attributes of the thread attributes object referred to by I<attr> to " |
| 150 |
"the values specified in I<stackaddr> and I<stacksize>, respectively. These " |
| 151 |
"attributes specify the location and size of the stack that should be used by " |
| 152 |
"a thread that is created using the thread attributes object I<attr>." |
| 153 |
msgstr "" |
| 154 |
"Функция B<pthread_attr_setstack>() изменяет атрибуты адреса и размера стека " |
| 155 |
"в объекте атрибутов нити, на который указывает I<attr>, на значения, " |
| 156 |
"задаваемые в I<stackaddr> и I<stacksize>, соответственно. Данными атрибутами " |
| 157 |
"задаёт расположение и размер стека, который будет использоваться нитью, " |
| 158 |
"создаваемой с использованием объекта атрибутов нити I<attr>." |
| 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 |
msgid "" |
| 164 |
"I<stackaddr> should point to the lowest addressable byte of a buffer of " |
| 165 |
"I<stacksize> bytes that was allocated by the caller. The pages of the " |
| 166 |
"allocated buffer should be both readable and writable." |
| 167 |
msgstr "" |
| 168 |
"Значение I<stackaddr> должно указывать на самый младший адресуемый байт " |
| 169 |
"буфера из I<stacksize> байт, выделенного вызывающим. Страницы выделенного " |
| 170 |
"буфера должны быть доступны на чтение и запись." |
| 171 |
|
| 172 |
#. type: Plain text |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
msgid "" |
| 176 |
"The B<pthread_attr_getstack>() function returns the stack address and stack " |
| 177 |
"size attributes of the thread attributes object referred to by I<attr> in " |
| 178 |
"the buffers pointed to by I<stackaddr> and I<stacksize>, respectively." |
| 179 |
msgstr "" |
| 180 |
"Функция B<pthread_attr_getstack>() возвращает атрибуты адреса и размера " |
| 181 |
"стека из объекта атрибутов нити, на который указывает I<attr>, в буфер, на " |
| 182 |
"который указывает I<stackaddr> и I<stacksize>, соответственно." |
| 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 |
msgid "" |
| 195 |
"On success, these functions return 0; on error, they return a nonzero error " |
| 196 |
"number." |
| 197 |
msgstr "" |
| 198 |
"При успешном выполнении эти функции возвращают 0; при ошибке возвращается " |
| 199 |
"ненулевой номер ошибки." |
| 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 "ОШИБКИ" |
| 207 |
|
| 208 |
#. type: Plain text |
| 209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 211 |
msgid "B<pthread_attr_setstack>() can fail with the following error:" |
| 212 |
msgstr "" |
| 213 |
"Функция B<pthread_attr_setstack>() может завершиться со следующей ошибкой:" |
| 214 |
|
| 215 |
#. type: TP |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
#, no-wrap |
| 219 |
msgid "B<EINVAL>" |
| 220 |
msgstr "B<EINVAL>" |
| 221 |
|
| 222 |
#. type: Plain text |
| 223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
#, fuzzy |
| 226 |
#| msgid "" |
| 227 |
#| "I<stacksize> is less than B<PTHREAD_STACK_MIN> (16384) bytes. On some " |
| 228 |
#| "systems, this error may also occur if I<stackaddr> or I<stackaddr\\ +\\ " |
| 229 |
#| "stacksize> is not suitably aligned." |
| 230 |
msgid "" |
| 231 |
"I<stacksize> is less than B<PTHREAD_STACK_MIN> (16384) bytes. On some " |
| 232 |
"systems, this error may also occur if I<stackaddr> or I<stackaddr\\ +\\ " |
| 233 |
"stacksize> is not suitably aligned." |
| 234 |
msgstr "" |
| 235 |
"Значение I<stacksize> меньше B<PTHREAD_STACK_MIN> (16384) байт. В некоторых " |
| 236 |
"системах эта ошибка также может возникать, если значения I<stackaddr> или " |
| 237 |
"I<stackaddr\\ +\\ stacksize> не выровнены правильным образом." |
| 238 |
|
| 239 |
#. type: Plain text |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
msgid "" |
| 243 |
"POSIX.1 also documents an B<EACCES> error if the stack area described by " |
| 244 |
"I<stackaddr> and I<stacksize> is not both readable and writable by the " |
| 245 |
"caller." |
| 246 |
msgstr "" |
| 247 |
"В POSIX.1 также описана ошибка B<EACCES>, которая возникает, если область " |
| 248 |
"стека, определённая I<stackaddr> и I<stacksize>, недоступна вызывающему на " |
| 249 |
"чтение и запись." |
| 250 |
|
| 251 |
#. type: SH |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
#, no-wrap |
| 255 |
msgid "ATTRIBUTES" |
| 256 |
msgstr "АТРИБУТЫ" |
| 257 |
|
| 258 |
#. type: Plain text |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
msgid "" |
| 262 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 263 |
msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)." |
| 264 |
|
| 265 |
#. type: tbl table |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
#, no-wrap |
| 269 |
msgid "Interface" |
| 270 |
msgstr "Интерфейс" |
| 271 |
|
| 272 |
#. type: tbl table |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
#, no-wrap |
| 276 |
msgid "Attribute" |
| 277 |
msgstr "Атрибут" |
| 278 |
|
| 279 |
#. type: tbl table |
| 280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 282 |
#, no-wrap |
| 283 |
msgid "Value" |
| 284 |
msgstr "Значение" |
| 285 |
|
| 286 |
#. type: tbl table |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
#, no-wrap |
| 290 |
msgid ".na\n" |
| 291 |
msgstr ".na\n" |
| 292 |
|
| 293 |
#. type: tbl table |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
#, no-wrap |
| 297 |
msgid ".nh\n" |
| 298 |
msgstr ".nh\n" |
| 299 |
|
| 300 |
#. type: tbl table |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
#, no-wrap |
| 304 |
msgid "" |
| 305 |
"B<pthread_attr_setstack>(),\n" |
| 306 |
"B<pthread_attr_getstack>()" |
| 307 |
msgstr "" |
| 308 |
"B<pthread_attr_setstack>(),\n" |
| 309 |
"B<pthread_attr_getstack>()" |
| 310 |
|
| 311 |
#. type: tbl table |
| 312 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 313 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 314 |
#, no-wrap |
| 315 |
msgid "Thread safety" |
| 316 |
msgstr "Безвредность в нитях" |
| 317 |
|
| 318 |
#. type: tbl table |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
#, no-wrap |
| 322 |
msgid "MT-Safe" |
| 323 |
msgstr "MT-Safe" |
| 324 |
|
| 325 |
#. type: SH |
| 326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
#, no-wrap |
| 329 |
msgid "STANDARDS" |
| 330 |
msgstr "СТАНДАРТЫ" |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
msgid "POSIX.1-2008." |
| 336 |
msgstr "POSIX.1-2008." |
| 337 |
|
| 338 |
#. type: SH |
| 339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 341 |
#, no-wrap |
| 342 |
msgid "HISTORY" |
| 343 |
msgstr "ИСТОРИЯ" |
| 344 |
|
| 345 |
#. type: Plain text |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
msgid "glibc 2.2. POSIX.1-2001." |
| 349 |
msgstr "glibc 2.2. POSIX.1-2001." |
| 350 |
|
| 351 |
#. type: SH |
| 352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 354 |
#, no-wrap |
| 355 |
msgid "NOTES" |
| 356 |
msgstr "ПРИМЕЧАНИЯ" |
| 357 |
|
| 358 |
#. type: Plain text |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
msgid "" |
| 362 |
"These functions are provided for applications that must ensure that a " |
| 363 |
"thread's stack is placed in a particular location. For most applications, " |
| 364 |
"this is not necessary, and the use of these functions should be avoided. " |
| 365 |
"(Use B<pthread_attr_setstacksize>(3) if an application simply requires a " |
| 366 |
"stack size other than the default.)" |
| 367 |
msgstr "" |
| 368 |
"Эти функции нужны приложениям, в которых нужно размещать стек в определённом " |
| 369 |
"месте. В большинстве приложений это не нужно и эти функции использовать не " |
| 370 |
"стоит (используйте B<pthread_attr_setstacksize>(3), если приложению нужно " |
| 371 |
"задать только размер стека, отличный от умолчательного)." |
| 372 |
|
| 373 |
#. type: Plain text |
| 374 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 375 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 376 |
msgid "" |
| 377 |
"When an application employs B<pthread_attr_setstack>(), it takes over the " |
| 378 |
"responsibility of allocating the stack. Any guard size value that was set " |
| 379 |
"using B<pthread_attr_setguardsize>(3) is ignored. If deemed necessary, it " |
| 380 |
"is the application's responsibility to allocate a guard area (one or more " |
| 381 |
"pages protected against reading and writing) to handle the possibility of " |
| 382 |
"stack overflow." |
| 383 |
msgstr "" |
| 384 |
"Когда приложение использует B<pthread_attr_setstack>(), оно самостоятельно " |
| 385 |
"выделяет место под стек. Защитный размер, задаваемый " |
| 386 |
"B<pthread_attr_setguardsize>(3), игнорируется. Если его учитывать " |
| 387 |
"необходимо, то приложение должно самостоятельно выделять защитную область " |
| 388 |
"(одну или несколько страниц, защищённых от чтения и записи) для обработки " |
| 389 |
"возможного переполнения стека." |
| 390 |
|
| 391 |
#. type: Plain text |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
msgid "" |
| 395 |
"The address specified in I<stackaddr> should be suitably aligned: for full " |
| 396 |
"portability, align it on a page boundary (I<sysconf(_SC_PAGESIZE)>). " |
| 397 |
"B<posix_memalign>(3) may be useful for allocation. Probably, I<stacksize> " |
| 398 |
"should also be a multiple of the system page size." |
| 399 |
msgstr "" |
| 400 |
"Адрес, указанный в I<stackaddr>, должен быть выровнен соответствующим " |
| 401 |
"образом: для полной переносимости выравнивайте его по границе страницы " |
| 402 |
"(I<sysconf(_SC_PAGESIZE)>). Для выделения полезно использовать функцию " |
| 403 |
"B<posix_memalign>(3). Вероятно, значение I<stacksize> также должно быть " |
| 404 |
"кратно размеру системной страницы." |
| 405 |
|
| 406 |
#. type: Plain text |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
msgid "" |
| 410 |
"If I<attr> is used to create multiple threads, then the caller must change " |
| 411 |
"the stack address attribute between calls to B<pthread_create>(3); " |
| 412 |
"otherwise, the threads will attempt to use the same memory area for their " |
| 413 |
"stacks, and chaos will ensue." |
| 414 |
msgstr "" |
| 415 |
"Если I<attr> используется при создании нескольких нитей, то вызывающий " |
| 416 |
"должен изменять атрибут адреса стека между вызовами B<pthread_create>(3); в " |
| 417 |
"противном случае нити будут пытаться использовать одну и ту же область " |
| 418 |
"памяти для стека и возникнет хаос." |
| 419 |
|
| 420 |
#. type: SH |
| 421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
#, no-wrap |
| 424 |
msgid "EXAMPLES" |
| 425 |
msgstr "ПРИМЕРЫ" |
| 426 |
|
| 427 |
#. type: Plain text |
| 428 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 429 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 430 |
msgid "See B<pthread_attr_init>(3)." |
| 431 |
msgstr "Смотрите B<pthread_attr_init>(3)." |
| 432 |
|
| 433 |
#. type: SH |
| 434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 436 |
#, no-wrap |
| 437 |
msgid "SEE ALSO" |
| 438 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 439 |
|
| 440 |
#. type: Plain text |
| 441 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 442 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 443 |
msgid "" |
| 444 |
"B<mmap>(2), B<mprotect>(2), B<posix_memalign>(3), B<pthread_attr_init>(3), " |
| 445 |
"B<pthread_attr_setguardsize>(3), B<pthread_attr_setstackaddr>(3), " |
| 446 |
"B<pthread_attr_setstacksize>(3), B<pthread_create>(3), B<pthreads>(7)" |
| 447 |
msgstr "" |
| 448 |
"B<mmap>(2), B<mprotect>(2), B<posix_memalign>(3), B<pthread_attr_init>(3), " |
| 449 |
"B<pthread_attr_setguardsize>(3), B<pthread_attr_setstackaddr>(3), " |
| 450 |
"B<pthread_attr_setstacksize>(3), B<pthread_create>(3), B<pthreads>(7)" |
| 451 |
|
| 452 |
#. type: TH |
| 453 |
#: debian-trixie |
| 454 |
#, no-wrap |
| 455 |
msgid "2024-05-02" |
| 456 |
msgstr "2 мая 2024 г." |
| 457 |
|
| 458 |
#. type: TH |
| 459 |
#: debian-trixie |
| 460 |
#, no-wrap |
| 461 |
msgid "Linux man-pages 6.9.1" |
| 462 |
msgstr "Страницы руководства Linux 6.9.1" |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: debian-trixie |
| 466 |
msgid "POSIX threads library (I<libpthread>, I<-lpthread>)" |
| 467 |
msgstr "Библиотека потоков POSIX (I<libpthread>, I<-lpthread>)" |
| 468 |
|
| 469 |
#. type: Plain text |
| 470 |
#: debian-trixie fedora-44 fedora-rawhide |
| 471 |
#, fuzzy, no-wrap |
| 472 |
#| msgid "" |
| 473 |
#| "B<int pthread_attr_setstack(pthread_attr_t *>I<attr>B<,>\n" |
| 474 |
#| "B< void *>I<stackaddr>B<, size_t >I<stacksize>B<);>\n" |
| 475 |
#| "B<int pthread_attr_getstack(const pthread_attr_t *>I<attr>B<,>\n" |
| 476 |
#| "B< void **>I<stackaddr>B<, size_t *>I<stacksize>B<);>\n" |
| 477 |
msgid "" |
| 478 |
"B<int pthread_attr_setstack(pthread_attr_t *>I<attr>B<,>\n" |
| 479 |
"B< void >I<stackaddr>B<[.>I<stacksize>B<],>\n" |
| 480 |
"B< size_t >I<stacksize>B<);>\n" |
| 481 |
"B<int pthread_attr_getstack(const pthread_attr_t *restrict >I<attr>B<,>\n" |
| 482 |
"B< void **restrict >I<stackaddr>B<,>\n" |
| 483 |
"B< size_t *restrict >I<stacksize>B<);>\n" |
| 484 |
msgstr "" |
| 485 |
"B<int pthread_attr_setstack(pthread_attr_t *>I<attr>B<,>\n" |
| 486 |
"B< void *>I<stackaddr>B<, size_t >I<stacksize>B<);>\n" |
| 487 |
"B<int pthread_attr_getstack(const pthread_attr_t *>I<attr>B<,>\n" |
| 488 |
"B< void **>I<stackaddr>B<, size_t *>I<stacksize>B<);>\n" |
| 489 |
|
| 490 |
#. type: TH |
| 491 |
#: fedora-44 fedora-rawhide |
| 492 |
#, no-wrap |
| 493 |
msgid "2024-07-23" |
| 494 |
msgstr "23 июля 2024 г." |
| 495 |
|
| 496 |
#. type: TH |
| 497 |
#: fedora-44 fedora-rawhide |
| 498 |
#, no-wrap |
| 499 |
msgid "Linux man-pages 6.13" |
| 500 |
msgstr "Страницы руководства Linux 6.13" |
| 501 |
|
| 502 |
#. type: TH |
| 503 |
#: mageia-cauldron |
| 504 |
#, no-wrap |
| 505 |
msgid "Linux man-pages 6.17" |
| 506 |
msgstr "Страницы руководства Linux 6.17" |
| 507 |
|
| 508 |
#. type: TH |
| 509 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 510 |
#, no-wrap |
| 511 |
msgid "Linux man-pages (unreleased)" |
| 512 |
msgstr "Страницы руководства Linux (не выпущены)" |