# Russian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Alexey, 2016. # Azamat Hackimov , 2014-2017. # kogamatranslator49 , 2015. # Darima Kogan , 2014. # Max Is , 2016. # Yuri Kozlov , 2011-2019. # Иван Павлов , 2017. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2026-06-05 06:38+0200\n" "PO-Revision-Date: 2024-12-21 19:50+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " "(n%100>=11 && n%100<=14)? 2 : 3);\n" "X-Generator: Lokalize 2.0\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B(7)" msgid "pthreads" msgstr "B(7)" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 февраля 2026 г." #. type: TH #: archlinux debian-unstable #, fuzzy, no-wrap #| msgid "Linux man-pages 6.17" msgid "Linux man-pages 6.18" msgstr "Справочные страницы Linux 6.17" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "НАИМЕНОВАНИЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "pthreads - POSIX threads" msgstr "pthreads - нити POSIX" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "ОПИСАНИЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "POSIX.1 specifies a set of interfaces (functions, header files) for threaded " "programming commonly known as POSIX threads, or Pthreads. A single process " "can contain multiple threads, all of which are executing the same program. " "These threads share the same global memory (data and heap segments), but " "each thread has its own stack (automatic variables)." msgstr "" "В POSIX.1 определён набор интерфейсов (функции, заголовочные файлы) для " "работы с нитями, более известными как нити POSIX или Pthreads. В одном " "процессе может быть несколько нитей, которые выполняют одну программу. Эти " "нити работают с общей глобальной памятью (сегментами данных и кучи), но у " "каждой нити есть собственный стек (автоматические переменные)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "POSIX.1 also requires that threads share a range of other attributes (i.e., " "these attributes are process-wide rather than per-thread):" msgstr "" "Также, в POSIX.1 требуется, чтобы нити имели общий диапазон других атрибутов " "(т. е., эти атрибуты процесса, а не нити):" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "process ID" msgstr "идентификатор процесса" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "parent process ID" msgstr "идентификатор родительского процесса" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "process group ID and session ID" msgstr "Идентификатор группы процессов и сеанса" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "controlling terminal" msgstr "Управляющий терминал" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "user and group IDs" msgstr "Идентификаторы пользователя и группы" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "open file descriptors" msgstr "Открытые файловые дескрипторы" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "record locks (see B(2))" msgstr "Обычные блокировки (смотрите B(2))" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "signal dispositions" msgstr "Обработчики сигналов" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "file mode creation mask (B(2))" msgstr "Маска создания режима доступа к файлу (B(2))" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "current directory (B(2)) and root directory (B(2))" msgstr "Текущий каталог (B(2)) и корневой каталог (B(2))" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "interval timers (B(2)) and POSIX timers (B(2))" msgstr "" "Интервальные таймеры (B(2)) и таймеры POSIX (B(2))" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "nice value (B(2))" msgstr "Значение уступчивости (B(2))" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "resource limits (B(2))" msgstr "Ограничения по ресурсам (B(2))" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "measurements of the consumption of CPU time (B(2)) and resources " "(B(2))" msgstr "" "Измерители потребления времени ЦП (B(2)) и ресурсов (B(2))" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As well as the stack, POSIX.1 specifies that various other attributes are " "distinct for each thread, including:" msgstr "" "Как и для стека, в POSIX.1 определены другие атрибуты, которые уникальны в " "каждой нити:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "thread ID (the I data type)" msgstr "Идентификатор нити (тип данных I)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "signal mask (B(3))" msgstr "Маска сигналов (B(3))" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "the I variable" msgstr "Переменная I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "alternate signal stack (B(2))" msgstr "Альтернативный стек сигнала (B(2))" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "real-time scheduling policy and priority (B(7))" msgstr "Алгоритм и приоритет планирования реального времени (B(7))" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The following Linux-specific features are also per-thread:" msgstr "" "Следующие свойства есть только в Linux и также уникальны в каждой нити:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "capabilities (see B(7))" msgstr "мандаты (смотрите B(7))" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "CPU affinity (B(2))" msgstr "Привязка к ЦП (B(2))" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Pthreads function return values" msgstr "Возвращаемые значения из функций pthreads" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Most pthreads functions return 0 on success, and an error number on " #| "failure. Note that the pthreads functions do not set I. For each " #| "of the pthreads functions that can return an error, POSIX.1-2001 " #| "specifies that the function can never fail with the error B." msgid "" "Most pthreads functions return 0 on success, and an error number on " "failure. The error numbers that can be returned have the same meaning as " "the error numbers returned in I by conventional system calls and C " "library functions. Note that the pthreads functions do not set I. " "For each of the pthreads functions that can return an error, POSIX.1-2001 " "specifies that the function can never fail with the error B." msgstr "" "Большинство функций pthreads при успешном выполнении возвращает 0 или номер " "ошибки в противном случае. Заметим, что функции pthreads не изменяют " "I. Для каждой функции pthreads, которая может вернуть ошибку, в " "POSIX.1-2001 определено, что функция никогда не может завершиться с ошибкой " "B." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Thread IDs" msgstr "Идентификатор нити" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Each of the threads in a process has a unique thread identifier (stored in " "the type I). This identifier is returned to the caller of " "B(3), and a thread can obtain its own thread identifier " "using B(3)." msgstr "" "Каждой нити процесса назначается уникальный идентификатор нити (имеет тип " "I). Этот идентификатор возвращается вызывающему " "B(3), а в самой нити её идентификатор можно получить с " "помощью B(3)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Thread IDs are guaranteed to be unique only within a process. (In all " "pthreads functions that accept a thread ID as an argument, that ID by " "definition refers to a thread in the same process as the caller.)" msgstr "" "Внутри процесса гарантируется уникальность идентификаторов нитей (во всех " "функциях pthreads, которые принимают аргумент идентификатора нити, " "подразумевается, что указана нить из процесса вызывающего)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The system may reuse a thread ID after a terminated thread has been joined, " "or a detached thread has terminated. POSIX says: \"If an application " "attempts to use a thread ID whose lifetime has ended, the behavior is " "undefined.\"" msgstr "" "Система может повторно использовать идентификатор нити после объединения " "завершённой нити или отсоединения завершённой нити. В POSIX сказано: «Если " "приложение пытается использовать идентификатор нити, у который закончился " "срок жизни, то поведение не предсказуемо»." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Thread-safe functions" msgstr "Нитебезопасные функции" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A thread-safe function is one that can be safely (i.e., it will deliver the " "same results regardless of whether it is) called from multiple threads at " "the same time." msgstr "" "Нитебезопасная функция — это функция, которую можно безопасно (т. е., это " "приведёт к единым результатам независимо от окружения) вызывать из " "нескольких нитей одновременно." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "POSIX.1-2001 and POSIX.1-2008 require that all functions specified in the " "standard shall be thread-safe, except for the following functions:" msgstr "" "В POSIX.1-2001 и POSIX.1-2008 требуется, чтобы все функции, описанные в " "стандарте, были нитебезопасными, за исключением следующих функций:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "asctime()\n" #| "basename()\n" #| "catgets()\n" #| "crypt()\n" #| "ctermid() if passed a non-NULL argument\n" #| "ctime()\n" #| "dbm_clearerr()\n" #| "dbm_close()\n" #| "dbm_delete()\n" #| "dbm_error()\n" #| "dbm_fetch()\n" #| "dbm_firstkey()\n" #| "dbm_nextkey()\n" #| "dbm_open()\n" #| "dbm_store()\n" #| "dirname()\n" #| "dlerror()\n" #| "drand48()\n" #| "ecvt() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n" #| "encrypt()\n" #| "endgrent()\n" #| "endpwent()\n" #| "endutxent()\n" #| "fcvt() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n" #| "ftw()\n" #| "gcvt() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n" #| "getc_unlocked()\n" #| "getchar_unlocked()\n" #| "getdate()\n" #| "getenv()\n" #| "getgrent()\n" #| "getgrgid()\n" #| "getgrnam()\n" #| "gethostbyaddr() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n" #| "gethostbyname() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n" #| "gethostent()\n" #| "getlogin()\n" #| "getnetbyaddr()\n" #| "getnetbyname()\n" #| "getnetent()\n" #| "getopt()\n" #| "getprotobyname()\n" #| "getprotobynumber()\n" #| "getprotoent()\n" #| "getpwent()\n" #| "getpwnam()\n" #| "getpwuid()\n" #| "getservbyname()\n" #| "getservbyport()\n" #| "getservent()\n" #| "getutxent()\n" #| "getutxid()\n" #| "getutxline()\n" #| "gmtime()\n" #| "hcreate()\n" #| "hdestroy()\n" #| "hsearch()\n" #| "inet_ntoa()\n" #| "l64a()\n" #| "lgamma()\n" #| "lgammaf()\n" #| "lgammal()\n" #| "localeconv()\n" #| "localtime()\n" #| "lrand48()\n" #| "mrand48()\n" #| "nftw()\n" #| "nl_langinfo()\n" #| "ptsname()\n" #| "putc_unlocked()\n" #| "putchar_unlocked()\n" #| "putenv()\n" #| "pututxline()\n" #| "rand()\n" #| "readdir()\n" #| "setenv()\n" #| "setgrent()\n" #| "setkey()\n" #| "setpwent()\n" #| "setutxent()\n" #| "strerror()\n" #| "strsignal() [Added in POSIX.1-2008]\n" #| "strtok()\n" #| "system() [Added in POSIX.1-2008]\n" #| "tmpnam() if passed a non-NULL argument\n" #| "ttyname()\n" #| "unsetenv()\n" #| "wcrtomb() if its final argument is NULL\n" #| "wcsrtombs() if its final argument is NULL\n" #| "wcstombs()\n" #| "wctomb()\n" msgid "" "asctime()\n" "basename()\n" "catgets()\n" "crypt()\n" "ctermid() if passed a non-NULL argument\n" "ctime()\n" "dbm_clearerr()\n" "dbm_close()\n" "dbm_delete()\n" "dbm_error()\n" "dbm_fetch()\n" "dbm_firstkey()\n" "dbm_nextkey()\n" "dbm_open()\n" "dbm_store()\n" "dirname()\n" "dlerror()\n" "drand48()\n" "ecvt() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n" "encrypt()\n" "endgrent()\n" "endpwent()\n" "endutxent()\n" "fcvt() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n" "ftw()\n" "gcvt() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n" "getc_unlocked()\n" "getchar_unlocked()\n" "getdate()\n" "getenv()\n" "getgrent()\n" "getgrgid()\n" "getgrnam()\n" "gethostbyaddr() [POSIX.1-2001 only (function removed in\n" " POSIX.1-2008)]\n" "gethostbyname() [POSIX.1-2001 only (function removed in\n" " POSIX.1-2008)]\n" "gethostent()\n" "getlogin()\n" "getnetbyaddr()\n" "getnetbyname()\n" "getnetent()\n" "getopt()\n" "getprotobyname()\n" "getprotobynumber()\n" "getprotoent()\n" "getpwent()\n" "getpwnam()\n" "getpwuid()\n" "getservbyname()\n" "getservbyport()\n" "getservent()\n" "getutxent()\n" "getutxid()\n" "getutxline()\n" "gmtime()\n" "hcreate()\n" "hdestroy()\n" "hsearch()\n" "inet_ntoa()\n" "l64a()\n" "lgamma()\n" "lgammaf()\n" "lgammal()\n" "localeconv()\n" "localtime()\n" "lrand48()\n" "mrand48()\n" "nftw()\n" "nl_langinfo()\n" "ptsname()\n" "putc_unlocked()\n" "putchar_unlocked()\n" "putenv()\n" "pututxline()\n" "rand()\n" "readdir()\n" "setenv()\n" "setgrent()\n" "setkey()\n" "setpwent()\n" "setutxent()\n" "strerror()\n" "strsignal() [Added in POSIX.1-2008]\n" "strtok()\n" "system() [Added in POSIX.1-2008]\n" "tmpnam() if passed a non-NULL argument\n" "ttyname()\n" "unsetenv()\n" "wcrtomb() if its final argument is NULL\n" "wcsrtombs() if its final argument is NULL\n" "wcstombs()\n" "wctomb()\n" msgstr "" "asctime()\n" "basename()\n" "catgets()\n" "crypt()\n" "ctermid() если передаётся аргумент не NULL\n" "ctime()\n" "dbm_clearerr()\n" "dbm_close()\n" "dbm_delete()\n" "dbm_error()\n" "dbm_fetch()\n" "dbm_firstkey()\n" "dbm_nextkey()\n" "dbm_open()\n" "dbm_store()\n" "dirname()\n" "dlerror()\n" "drand48()\n" "ecvt() [только POSIX.1-2001 (удалена из POSIX.1-2008)]\n" "encrypt()\n" "endgrent()\n" "endpwent()\n" "endutxent()\n" "fcvt() [только POSIX.1-2001 (удалена из POSIX.1-2008)]\n" "ftw()\n" "gcvt() [только POSIX.1-2001 (удалена из POSIX.1-2008)]\n" "getc_unlocked()\n" "getchar_unlocked()\n" "getdate()\n" "getenv()\n" "getgrent()\n" "getgrgid()\n" "getgrnam()\n" "gethostbyaddr() [только POSIX.1-2001 (удалена из POSIX.1-2008)]\n" "gethostbyname() [только POSIX.1-2001 (удалена из POSIX.1-2008)]\n" "gethostent()\n" "getlogin()\n" "getnetbyaddr()\n" "getnetbyname()\n" "getnetent()\n" "getopt()\n" "getprotobyname()\n" "getprotobynumber()\n" "getprotoent()\n" "getpwent()\n" "getpwnam()\n" "getpwuid()\n" "getservbyname()\n" "getservbyport()\n" "getservent()\n" "getutxent()\n" "getutxid()\n" "getutxline()\n" "gmtime()\n" "hcreate()\n" "hdestroy()\n" "hsearch()\n" "inet_ntoa()\n" "l64a()\n" "lgamma()\n" "lgammaf()\n" "lgammal()\n" "localeconv()\n" "localtime()\n" "lrand48()\n" "mrand48()\n" "nftw()\n" "nl_langinfo()\n" "ptsname()\n" "putc_unlocked()\n" "putchar_unlocked()\n" "putenv()\n" "pututxline()\n" "rand()\n" "readdir()\n" "setenv()\n" "setgrent()\n" "setkey()\n" "setpwent()\n" "setutxent()\n" "strerror()\n" "strsignal() [добавлена в POSIX.1-2008]\n" "strtok()\n" "system() [добавлена в POSIX.1-2008]\n" "tmpnam() если передаётся аргумент не NULL\n" "ttyname()\n" "unsetenv()\n" "wcrtomb() если конечный аргумент NULL\n" "wcsrtombs() если конечный аргумент NULL\n" "wcstombs()\n" "wctomb()\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Async-cancel-safe functions" msgstr "Безопасные асинхронные отменяемые функции" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "An async-cancel-safe function is one that can be safely called in an " "application where asynchronous cancelability is enabled (see " "B(3))." msgstr "" "Безопасная асинхронная отменяемая функция (async-cancel-safe function) — это " "функция, которую можно безопасно вызывать в приложении, в котором разрешено " "асинхронная отмена (смотрите B(3))." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Only the following functions are required to be async-cancel-safe by " "POSIX.1-2001 and POSIX.1-2008:" msgstr "" "Согласно POSIX.1-2001 и POSIX.1-2008 только следующие функции должны быть " "безопасными асинхронными отменяемыми:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "pthread_cancel()\n" "pthread_setcancelstate()\n" "pthread_setcanceltype()\n" msgstr "" "pthread_cancel()\n" "pthread_setcancelstate()\n" "pthread_setcanceltype()\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "Cancellation points" msgid "Cancelation points" msgstr "Точки отмены" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "POSIX.1 specifies that certain functions must, and certain other " #| "functions may, be cancellation points. If a thread is cancelable, its " #| "cancelability type is deferred, and a cancellation request is pending for " #| "the thread, then the thread is canceled when it calls a function that is " #| "a cancellation point." msgid "" "POSIX.1 specifies that certain functions must, and certain other functions " "may, be cancelation points. If a thread is cancelable, its cancelability " "type is deferred, and a cancelation request is pending for the thread, then " "the thread is canceled when it calls a function that is a cancelation point." msgstr "" "В POSIX.1 определено, что некоторые функции должны, а несколько других могут " "было точками отмены. Если нить отменяема, её тип отменяемости откладывается, " "и ожидается запрос отмены нити, затем нить отменяется, когда она вызывает " "функцию, которая является точкой отмены." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "The following functions are required to be cancellation points by " #| "POSIX.1-2001 and/or POSIX.1-2008:" msgid "" "The following functions are required to be cancelation points by " "POSIX.1-2001 and/or POSIX.1-2008:" msgstr "" "Следующие функции должны быть точками отмены согласно POSIX.1-2001 и/или " "POSIX.1-2008:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "accept()\n" "aio_suspend()\n" "clock_nanosleep()\n" "close()\n" "connect()\n" "creat()\n" "fcntl() F_SETLKW\n" "fdatasync()\n" "fsync()\n" "getmsg()\n" "getpmsg()\n" "lockf() F_LOCK\n" "mq_receive()\n" "mq_send()\n" "mq_timedreceive()\n" "mq_timedsend()\n" "msgrcv()\n" "msgsnd()\n" "msync()\n" "nanosleep()\n" "open()\n" "openat() [Added in POSIX.1-2008]\n" "pause()\n" "poll()\n" "pread()\n" "pselect()\n" "pthread_cond_timedwait()\n" "pthread_cond_wait()\n" "pthread_join()\n" "pthread_testcancel()\n" "putmsg()\n" "putpmsg()\n" "pwrite()\n" "read()\n" "readv()\n" "recv()\n" "recvfrom()\n" "recvmsg()\n" "select()\n" "sem_timedwait()\n" "sem_wait()\n" "send()\n" "sendmsg()\n" "sendto()\n" "sigpause() [POSIX.1-2001 only (moves to \"may\" list in POSIX.1-2008)]\n" "sigsuspend()\n" "sigtimedwait()\n" "sigwait()\n" "sigwaitinfo()\n" "sleep()\n" "system()\n" "tcdrain()\n" "usleep() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n" "wait()\n" "waitid()\n" "waitpid()\n" "write()\n" "writev()\n" msgstr "" "accept()\n" "aio_suspend()\n" "clock_nanosleep()\n" "close()\n" "connect()\n" "creat()\n" "fcntl() F_SETLKW\n" "fdatasync()\n" "fsync()\n" "getmsg()\n" "getpmsg()\n" "lockf() F_LOCK\n" "mq_receive()\n" "mq_send()\n" "mq_timedreceive()\n" "mq_timedsend()\n" "msgrcv()\n" "msgsnd()\n" "msync()\n" "nanosleep()\n" "open()\n" "openat() [добавлена в POSIX.1-2008]\n" "pause()\n" "poll()\n" "pread()\n" "pselect()\n" "pthread_cond_timedwait()\n" "pthread_cond_wait()\n" "pthread_join()\n" "pthread_testcancel()\n" "putmsg()\n" "putpmsg()\n" "pwrite()\n" "read()\n" "readv()\n" "recv()\n" "recvfrom()\n" "recvmsg()\n" "select()\n" "sem_timedwait()\n" "sem_wait()\n" "send()\n" "sendmsg()\n" "sendto()\n" "sigpause() [только POSIX.1-2001 (перемещена в список «может» в POSIX.1-2008)]\n" "sigsuspend()\n" "sigtimedwait()\n" "sigwait()\n" "sigwaitinfo()\n" "sleep()\n" "system()\n" "tcdrain()\n" "usleep() [только POSIX.1-2001 (функция удалена в POSIX.1-2008)]\n" "wait()\n" "waitid()\n" "waitpid()\n" "write()\n" "writev()\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "The following functions may be cancellation points according to " #| "POSIX.1-2001 and/or POSIX.1-2008:" msgid "" "The following functions may be cancelation points according to POSIX.1-2001 " "and/or POSIX.1-2008:" msgstr "" "Следующие функции могут быть точками отмены согласно POSIX.1-2001 и/или " "POSIX.1-2008:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "access()\n" #| "asctime()\n" #| "asctime_r()\n" #| "catclose()\n" #| "catgets()\n" #| "catopen()\n" #| "chmod() [Added in POSIX.1-2008]\n" #| "chown() [Added in POSIX.1-2008]\n" #| "closedir()\n" #| "closelog()\n" #| "ctermid()\n" #| "ctime()\n" #| "ctime_r()\n" #| "dbm_close()\n" #| "dbm_delete()\n" #| "dbm_fetch()\n" #| "dbm_nextkey()\n" #| "dbm_open()\n" #| "dbm_store()\n" #| "dlclose()\n" #| "dlopen()\n" #| "dprintf() [Added in POSIX.1-2008]\n" #| "endgrent()\n" #| "endhostent()\n" #| "endnetent()\n" #| "endprotoent()\n" #| "endpwent()\n" #| "endservent()\n" #| "endutxent()\n" #| "faccessat() [Added in POSIX.1-2008]\n" #| "fchmod() [Added in POSIX.1-2008]\n" #| "fchmodat() [Added in POSIX.1-2008]\n" #| "fchown() [Added in POSIX.1-2008]\n" #| "fchownat() [Added in POSIX.1-2008]\n" #| "fclose()\n" #| "fcntl() (for any value of cmd argument)\n" #| "fflush()\n" #| "fgetc()\n" #| "fgetpos()\n" #| "fgets()\n" #| "fgetwc()\n" #| "fgetws()\n" #| "fmtmsg()\n" #| "fopen()\n" #| "fpathconf()\n" #| "fprintf()\n" #| "fputc()\n" #| "fputs()\n" #| "fputwc()\n" #| "fputws()\n" #| "fread()\n" #| "freopen()\n" #| "fscanf()\n" #| "fseek()\n" #| "fseeko()\n" #| "fsetpos()\n" #| "fstat()\n" #| "fstatat() [Added in POSIX.1-2008]\n" #| "ftell()\n" #| "ftello()\n" #| "ftw()\n" #| "futimens() [Added in POSIX.1-2008]\n" #| "fwprintf()\n" #| "fwrite()\n" #| "fwscanf()\n" #| "getaddrinfo()\n" #| "getc()\n" #| "getc_unlocked()\n" #| "getchar()\n" #| "getchar_unlocked()\n" #| "getcwd()\n" #| "getdate()\n" #| "getdelim() [Added in POSIX.1-2008]\n" #| "getgrent()\n" #| "getgrgid()\n" #| "getgrgid_r()\n" #| "getgrnam()\n" #| "getgrnam_r()\n" #| "gethostbyaddr() [SUSv3 only (function removed in POSIX.1-2008)]\n" #| "gethostbyname() [SUSv3 only (function removed in POSIX.1-2008)]\n" #| "gethostent()\n" #| "gethostid()\n" #| "gethostname()\n" #| "getline() [Added in POSIX.1-2008]\n" #| "getlogin()\n" #| "getlogin_r()\n" #| "getnameinfo()\n" #| "getnetbyaddr()\n" #| "getnetbyname()\n" #| "getnetent()\n" #| "getopt() (if opterr is nonzero)\n" #| "getprotobyname()\n" #| "getprotobynumber()\n" #| "getprotoent()\n" #| "getpwent()\n" #| "getpwnam()\n" #| "getpwnam_r()\n" #| "getpwuid()\n" #| "getpwuid_r()\n" #| "gets()\n" #| "getservbyname()\n" #| "getservbyport()\n" #| "getservent()\n" #| "getutxent()\n" #| "getutxid()\n" #| "getutxline()\n" #| "getwc()\n" #| "getwchar()\n" #| "getwd() [SUSv3 only (function removed in POSIX.1-2008)]\n" #| "glob()\n" #| "iconv_close()\n" #| "iconv_open()\n" #| "ioctl()\n" #| "link()\n" #| "linkat() [Added in POSIX.1-2008]\n" #| "lio_listio() [Added in POSIX.1-2008]\n" #| "localtime()\n" #| "localtime_r()\n" #| "lockf() [Added in POSIX.1-2008]\n" #| "lseek()\n" #| "lstat()\n" #| "mkdir() [Added in POSIX.1-2008]\n" #| "mkdirat() [Added in POSIX.1-2008]\n" #| "mkdtemp() [Added in POSIX.1-2008]\n" #| "mkfifo() [Added in POSIX.1-2008]\n" #| "mkfifoat() [Added in POSIX.1-2008]\n" #| "mknod() [Added in POSIX.1-2008]\n" #| "mknodat() [Added in POSIX.1-2008]\n" #| "mkstemp()\n" #| "mktime()\n" #| "nftw()\n" #| "opendir()\n" #| "openlog()\n" #| "pathconf()\n" #| "pclose()\n" #| "perror()\n" #| "popen()\n" #| "posix_fadvise()\n" #| "posix_fallocate()\n" #| "posix_madvise()\n" #| "posix_openpt()\n" #| "posix_spawn()\n" #| "posix_spawnp()\n" #| "posix_trace_clear()\n" #| "posix_trace_close()\n" #| "posix_trace_create()\n" #| "posix_trace_create_withlog()\n" #| "posix_trace_eventtypelist_getnext_id()\n" #| "posix_trace_eventtypelist_rewind()\n" #| "posix_trace_flush()\n" #| "posix_trace_get_attr()\n" #| "posix_trace_get_filter()\n" #| "posix_trace_get_status()\n" #| "posix_trace_getnext_event()\n" #| "posix_trace_open()\n" #| "posix_trace_rewind()\n" #| "posix_trace_set_filter()\n" #| "posix_trace_shutdown()\n" #| "posix_trace_timedgetnext_event()\n" #| "posix_typed_mem_open()\n" #| "printf()\n" #| "psiginfo() [Added in POSIX.1-2008]\n" #| "psignal() [Added in POSIX.1-2008]\n" #| "pthread_rwlock_rdlock()\n" #| "pthread_rwlock_timedrdlock()\n" #| "pthread_rwlock_timedwrlock()\n" #| "pthread_rwlock_wrlock()\n" #| "putc()\n" #| "putc_unlocked()\n" #| "putchar()\n" #| "putchar_unlocked()\n" #| "puts()\n" #| "pututxline()\n" #| "putwc()\n" #| "putwchar()\n" #| "readdir()\n" #| "readdir_r()\n" #| "readlink() [Added in POSIX.1-2008]\n" #| "readlinkat() [Added in POSIX.1-2008]\n" #| "remove()\n" #| "rename()\n" #| "renameat() [Added in POSIX.1-2008]\n" #| "rewind()\n" #| "rewinddir()\n" #| "scandir() [Added in POSIX.1-2008]\n" #| "scanf()\n" #| "seekdir()\n" #| "semop()\n" #| "setgrent()\n" #| "sethostent()\n" #| "setnetent()\n" #| "setprotoent()\n" #| "setpwent()\n" #| "setservent()\n" #| "setutxent()\n" #| "sigpause() [Added in POSIX.1-2008]\n" #| "stat()\n" #| "strerror()\n" #| "strerror_r()\n" #| "strftime()\n" #| "symlink()\n" #| "symlinkat() [Added in POSIX.1-2008]\n" #| "sync()\n" #| "syslog()\n" #| "tmpfile()\n" #| "tmpnam()\n" #| "ttyname()\n" #| "ttyname_r()\n" #| "tzset()\n" #| "ungetc()\n" #| "ungetwc()\n" #| "unlink()\n" #| "unlinkat() [Added in POSIX.1-2008]\n" #| "utime() [Added in POSIX.1-2008]\n" #| "utimensat() [Added in POSIX.1-2008]\n" #| "utimes() [Added in POSIX.1-2008]\n" #| "vdprintf() [Added in POSIX.1-2008]\n" #| "vfprintf()\n" #| "vfwprintf()\n" #| "vprintf()\n" #| "vwprintf()\n" #| "wcsftime()\n" #| "wordexp()\n" #| "wprintf()\n" #| "wscanf()\n" msgid "" "access()\n" "asctime()\n" "asctime_r()\n" "catclose()\n" "catgets()\n" "catopen()\n" "chmod() [Added in POSIX.1-2008]\n" "chown() [Added in POSIX.1-2008]\n" "closedir()\n" "closelog()\n" "ctermid()\n" "ctime()\n" "ctime_r()\n" "dbm_close()\n" "dbm_delete()\n" "dbm_fetch()\n" "dbm_nextkey()\n" "dbm_open()\n" "dbm_store()\n" "dlclose()\n" "dlopen()\n" "dprintf() [Added in POSIX.1-2008]\n" "endgrent()\n" "endhostent()\n" "endnetent()\n" "endprotoent()\n" "endpwent()\n" "endservent()\n" "endutxent()\n" "faccessat() [Added in POSIX.1-2008]\n" "fchmod() [Added in POSIX.1-2008]\n" "fchmodat() [Added in POSIX.1-2008]\n" "fchown() [Added in POSIX.1-2008]\n" "fchownat() [Added in POSIX.1-2008]\n" "fclose()\n" "fcntl() (for any value of cmd argument)\n" "fflush()\n" "fgetc()\n" "fgetpos()\n" "fgets()\n" "fgetwc()\n" "fgetws()\n" "fmtmsg()\n" "fopen()\n" "fpathconf()\n" "fprintf()\n" "fputc()\n" "fputs()\n" "fputwc()\n" "fputws()\n" "fread()\n" "freopen()\n" "fscanf()\n" "fseek()\n" "fseeko()\n" "fsetpos()\n" "fstat()\n" "fstatat() [Added in POSIX.1-2008]\n" "ftell()\n" "ftello()\n" "ftw()\n" "futimens() [Added in POSIX.1-2008]\n" "fwprintf()\n" "fwrite()\n" "fwscanf()\n" "getaddrinfo()\n" "getc()\n" "getc_unlocked()\n" "getchar()\n" "getchar_unlocked()\n" "getcwd()\n" "getdate()\n" "getdelim() [Added in POSIX.1-2008]\n" "getgrent()\n" "getgrgid()\n" "getgrgid_r()\n" "getgrnam()\n" "getgrnam_r()\n" "gethostbyaddr() [POSIX.1-2001 only (function removed in\n" " POSIX.1-2008)]\n" "gethostbyname() [POSIX.1-2001 only (function removed in\n" " POSIX.1-2008)]\n" "gethostent()\n" "gethostid()\n" "gethostname()\n" "getline() [Added in POSIX.1-2008]\n" "getlogin()\n" "getlogin_r()\n" "getnameinfo()\n" "getnetbyaddr()\n" "getnetbyname()\n" "getnetent()\n" "getopt() (if opterr is nonzero)\n" "getprotobyname()\n" "getprotobynumber()\n" "getprotoent()\n" "getpwent()\n" "getpwnam()\n" "getpwnam_r()\n" "getpwuid()\n" "getpwuid_r()\n" "gets()\n" "getservbyname()\n" "getservbyport()\n" "getservent()\n" "getutxent()\n" "getutxid()\n" "getutxline()\n" "getwc()\n" "getwchar()\n" "getwd() [POSIX.1-2001 only (function removed in POSIX.1-2008)]\n" "glob()\n" "iconv_close()\n" "iconv_open()\n" "ioctl()\n" "link()\n" "linkat() [Added in POSIX.1-2008]\n" "lio_listio() [Added in POSIX.1-2008]\n" "localtime()\n" "localtime_r()\n" "lockf() [Added in POSIX.1-2008]\n" "lseek()\n" "lstat()\n" "mkdir() [Added in POSIX.1-2008]\n" "mkdirat() [Added in POSIX.1-2008]\n" "mkdtemp() [Added in POSIX.1-2008]\n" "mkfifo() [Added in POSIX.1-2008]\n" "mkfifoat() [Added in POSIX.1-2008]\n" "mknod() [Added in POSIX.1-2008]\n" "mknodat() [Added in POSIX.1-2008]\n" "mkstemp()\n" "mktime()\n" "nftw()\n" "opendir()\n" "openlog()\n" "pathconf()\n" "pclose()\n" "perror()\n" "popen()\n" "posix_fadvise()\n" "posix_fallocate()\n" "posix_madvise()\n" "posix_openpt()\n" "posix_spawn()\n" "posix_spawnp()\n" "posix_trace_clear()\n" "posix_trace_close()\n" "posix_trace_create()\n" "posix_trace_create_withlog()\n" "posix_trace_eventtypelist_getnext_id()\n" "posix_trace_eventtypelist_rewind()\n" "posix_trace_flush()\n" "posix_trace_get_attr()\n" "posix_trace_get_filter()\n" "posix_trace_get_status()\n" "posix_trace_getnext_event()\n" "posix_trace_open()\n" "posix_trace_rewind()\n" "posix_trace_set_filter()\n" "posix_trace_shutdown()\n" "posix_trace_timedgetnext_event()\n" "posix_typed_mem_open()\n" "printf()\n" "psiginfo() [Added in POSIX.1-2008]\n" "psignal() [Added in POSIX.1-2008]\n" "pthread_rwlock_rdlock()\n" "pthread_rwlock_timedrdlock()\n" "pthread_rwlock_timedwrlock()\n" "pthread_rwlock_wrlock()\n" "putc()\n" "putc_unlocked()\n" "putchar()\n" "putchar_unlocked()\n" "puts()\n" "pututxline()\n" "putwc()\n" "putwchar()\n" "readdir()\n" "readdir_r()\n" "readlink() [Added in POSIX.1-2008]\n" "readlinkat() [Added in POSIX.1-2008]\n" "remove()\n" "rename()\n" "renameat() [Added in POSIX.1-2008]\n" "rewind()\n" "rewinddir()\n" "scandir() [Added in POSIX.1-2008]\n" "scanf()\n" "seekdir()\n" "semop()\n" "setgrent()\n" "sethostent()\n" "setnetent()\n" "setprotoent()\n" "setpwent()\n" "setservent()\n" "setutxent()\n" "sigpause() [Added in POSIX.1-2008]\n" "stat()\n" "strerror()\n" "strerror_r()\n" "strftime()\n" "symlink()\n" "symlinkat() [Added in POSIX.1-2008]\n" "sync()\n" "syslog()\n" "tmpfile()\n" "tmpnam()\n" "ttyname()\n" "ttyname_r()\n" "tzset()\n" "ungetc()\n" "ungetwc()\n" "unlink()\n" "unlinkat() [Added in POSIX.1-2008]\n" "utime() [Added in POSIX.1-2008]\n" "utimensat() [Added in POSIX.1-2008]\n" "utimes() [Added in POSIX.1-2008]\n" "vdprintf() [Added in POSIX.1-2008]\n" "vfprintf()\n" "vfwprintf()\n" "vprintf()\n" "vwprintf()\n" "wcsftime()\n" "wordexp()\n" "wprintf()\n" "wscanf()\n" msgstr "" "access()\n" "asctime()\n" "asctime_r()\n" "catclose()\n" "catgets()\n" "catopen()\n" "chmod() [добавлена в POSIX.1-2008]\n" "chown() [добавлена в POSIX.1-2008]\n" "closedir()\n" "closelog()\n" "ctermid()\n" "ctime()\n" "ctime_r()\n" "dbm_close()\n" "dbm_delete()\n" "dbm_fetch()\n" "dbm_nextkey()\n" "dbm_open()\n" "dbm_store()\n" "dlclose()\n" "dlopen()\n" "dprintf() [добавлена в POSIX.1-2008]\n" "endgrent()\n" "endhostent()\n" "endnetent()\n" "endprotoent()\n" "endpwent()\n" "endservent()\n" "endutxent()\n" "faccessat() [добавлена в POSIX.1-2008]\n" "fchmod() [добавлена в POSIX.1-2008]\n" "fchmodat() [добавлена в POSIX.1-2008]\n" "fchown() [добавлена в POSIX.1-2008]\n" "fchownat() [Added in POSIX.1-2008]\n" "fclose()\n" "fcntl() (для любого значения аргумента cmd)\n" "fflush()\n" "fgetc()\n" "fgetpos()\n" "fgets()\n" "fgetwc()\n" "fgetws()\n" "fmtmsg()\n" "fopen()\n" "fpathconf()\n" "fprintf()\n" "fputc()\n" "fputs()\n" "fputwc()\n" "fputws()\n" "fread()\n" "freopen()\n" "fscanf()\n" "fseek()\n" "fseeko()\n" "fsetpos()\n" "fstat()\n" "fstatat() [добавлена в POSIX.1-2008]\n" "ftell()\n" "ftello()\n" "ftw()\n" "futimens() [добавлена в POSIX.1-2008]\n" "fwprintf()\n" "fwrite()\n" "fwscanf()\n" "getaddrinfo()\n" "getc()\n" "getc_unlocked()\n" "getchar()\n" "getchar_unlocked()\n" "getcwd()\n" "getdate()\n" "getdelim() [добавлена в POSIX.1-2008]\n" "getgrent()\n" "getgrgid()\n" "getgrgid_r()\n" "getgrnam()\n" "getgrnam_r()\n" "gethostbyaddr() [только SUSv3 (функция удалена из POSIX.1-2008)]\n" "gethostbyname() [только SUSv3 (функция удалена из POSIX.1-2008)]\n" "gethostent()\n" "gethostid()\n" "gethostname()\n" "getline() [добавлена в POSIX.1-2008]\n" "getlogin()\n" "getlogin_r()\n" "getnameinfo()\n" "getnetbyaddr()\n" "getnetbyname()\n" "getnetent()\n" "getopt() (если opterr не равно 0)\n" "getprotobyname()\n" "getprotobynumber()\n" "getprotoent()\n" "getpwent()\n" "getpwnam()\n" "getpwnam_r()\n" "getpwuid()\n" "getpwuid_r()\n" "gets()\n" "getservbyname()\n" "getservbyport()\n" "getservent()\n" "getutxent()\n" "getutxid()\n" "getutxline()\n" "getwc()\n" "getwchar()\n" "getwd() [только SUSv3 (функция удалена из POSIX.1-2008)]\n" "glob()\n" "iconv_close()\n" "iconv_open()\n" "ioctl()\n" "link()\n" "linkat() [добавлена в POSIX.1-2008]\n" "lio_listio() [добавлена в POSIX.1-2008]\n" "localtime()\n" "localtime_r()\n" "lockf() [добавлена в POSIX.1-2008]\n" "lseek()\n" "lstat()\n" "mkdir() [добавлена в POSIX.1-2008]\n" "mkdirat() [добавлена в POSIX.1-2008]\n" "mkdtemp() [добавлена в POSIX.1-2008]\n" "mkfifo() [добавлена в POSIX.1-2008]\n" "mkfifoat() [добавлена в POSIX.1-2008]\n" "mknod() [добавлена в POSIX.1-2008]\n" "mknodat() [добавлена в POSIX.1-2008]\n" "mkstemp()\n" "mktime()\n" "nftw()\n" "opendir()\n" "openlog()\n" "pathconf()\n" "pclose()\n" "perror()\n" "popen()\n" "posix_fadvise()\n" "posix_fallocate()\n" "posix_madvise()\n" "posix_openpt()\n" "posix_spawn()\n" "posix_spawnp()\n" "posix_trace_clear()\n" "posix_trace_close()\n" "posix_trace_create()\n" "posix_trace_create_withlog()\n" "posix_trace_eventtypelist_getnext_id()\n" "posix_trace_eventtypelist_rewind()\n" "posix_trace_flush()\n" "posix_trace_get_attr()\n" "posix_trace_get_filter()\n" "posix_trace_get_status()\n" "posix_trace_getnext_event()\n" "posix_trace_open()\n" "posix_trace_rewind()\n" "posix_trace_set_filter()\n" "posix_trace_shutdown()\n" "posix_trace_timedgetnext_event()\n" "posix_typed_mem_open()\n" "printf()\n" "psiginfo() [добавлена в POSIX.1-2008]\n" "psignal() [добавлена в POSIX.1-2008]\n" "pthread_rwlock_rdlock()\n" "pthread_rwlock_timedrdlock()\n" "pthread_rwlock_timedwrlock()\n" "pthread_rwlock_wrlock()\n" "putc()\n" "putc_unlocked()\n" "putchar()\n" "putchar_unlocked()\n" "puts()\n" "pututxline()\n" "putwc()\n" "putwchar()\n" "readdir()\n" "readdir_r()\n" "readlink() [добавлена в POSIX.1-2008]\n" "readlinkat() [добавлена в POSIX.1-2008]\n" "remove()\n" "rename()\n" "renameat() [добавлена в POSIX.1-2008]\n" "rewind()\n" "rewinddir()\n" "scandir() [добавлена в POSIX.1-2008]\n" "scanf()\n" "seekdir()\n" "semop()\n" "setgrent()\n" "sethostent()\n" "setnetent()\n" "setprotoent()\n" "setpwent()\n" "setservent()\n" "setutxent()\n" "sigpause() [добавлена в POSIX.1-2008]\n" "stat()\n" "strerror()\n" "strerror_r()\n" "strftime()\n" "symlink()\n" "symlinkat() [добавлена в POSIX.1-2008]\n" "sync()\n" "syslog()\n" "tmpfile()\n" "tmpnam()\n" "ttyname()\n" "ttyname_r()\n" "tzset()\n" "ungetc()\n" "ungetwc()\n" "unlink()\n" "unlinkat() [добавлена в POSIX.1-2008]\n" "utime() [добавлена в POSIX.1-2008]\n" "utimensat() [добавлена в POSIX.1-2008]\n" "utimes() [добавлена в POSIX.1-2008]\n" "vdprintf() [добавлена в POSIX.1-2008]\n" "vfprintf()\n" "vfwprintf()\n" "vprintf()\n" "vwprintf()\n" "wcsftime()\n" "wordexp()\n" "wprintf()\n" "wscanf()\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "An implementation may also mark other functions not specified in the " #| "standard as cancellation points. In particular, an implementation is " #| "likely to mark any nonstandard function that may block as a cancellation " #| "point. (This includes most functions that can touch files.)" msgid "" "An implementation may also mark other functions not specified in the " "standard as cancelation points. In particular, an implementation is likely " "to mark any nonstandard function that may block as a cancelation point. " "(This includes most functions that can touch files.)" msgstr "" "Реализация также может помечать другие функции, не указанные в стандарте, " "как точки отмены. В частности, реализация, вероятно, пометит как точку " "отмены любую нестандартную функцию, которая может блокироваться (большинство " "функций, работающих с файлами)." #. So, scanning "cancelation point" comments in the glibc 2.8 header #. files, it looks as though at least the following nonstandard #. functions are cancelation points: #. endnetgrent #. endspent #. epoll_pwait #. epoll_wait #. fcloseall #. fdopendir #. fflush_unlocked #. fgetc_unlocked #. fgetgrent #. fgetgrent_r #. fgetpwent #. fgetpwent_r #. fgets_unlocked #. fgetspent #. fgetspent_r #. fgetwc_unlocked #. fgetws_unlocked #. fputc_unlocked #. fputs_unlocked #. fputwc_unlocked #. fputws_unlocked #. fread_unlocked #. fwrite_unlocked #. gai_suspend #. getaddrinfo_a #. getdate_r #. getgrent_r #. getgrouplist #. gethostbyaddr_r #. gethostbyname2 #. gethostbyname2_r #. gethostbyname_r #. gethostent_r #. getnetbyaddr_r #. getnetbyname_r #. getnetent_r #. getnetgrent #. getnetgrent_r #. getprotobyname_r #. getprotobynumber_r #. getprotoent_r #. getpw #. getpwent_r #. getservbyname_r #. getservbyport_r #. getservent_r #. getspent #. getspent_r #. getspnam #. getspnam_r #. getutmp #. getutmpx #. getw #. getwc_unlocked #. getwchar_unlocked #. initgroups #. innetgr #. mkostemp #. mkostemp64 #. mkstemp64 #. ppoll #. pthread_timedjoin_np #. putgrent #. putpwent #. putspent #. putw #. putwc_unlocked #. putwchar_unlocked #. rcmd #. rcmd_af #. rexec #. rexec_af #. rresvport #. rresvport_af #. ruserok #. ruserok_af #. setnetgrent #. setspent #. sgetspent #. sgetspent_r #. updwtmpx #. utmpxname #. vfscanf #. vfwscanf #. vscanf #. vsyslog #. vwscanf #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "It should be noted that even if an application is not using asynchronous " "cancelation, that calling a function from the above list from an " "asynchronous signal handler may cause the equivalent of asynchronous " "cancelation. The underlying user code may not expect asynchronous " "cancelation and the state of the user data may become inconsistent. " "Therefore signals should be used with caution when entering a region of " "deferred cancelation." msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Compiling on Linux" msgstr "Компиляция в Linux" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On Linux, programs that use the Pthreads API should be compiled using I." msgstr "" "В Linux, программы, использующие программный интерфейс pthreads, должны " "компилироваться с помощью I." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux implementations of POSIX threads" msgstr "Реализации нитей POSIX в Linux" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Over time, two threading implementations have been provided by the GNU C " "library on Linux:" msgstr "За всё время в библиотеке GNU C было две реализации нитей для Linux:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This is the original Pthreads implementation. Since glibc 2.4, this " "implementation is no longer supported." msgstr "" "Первоначальная реализация pthreads. Начиная с glibc 2.4 эта реализация " "больше не поддерживается." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (Native POSIX Threads Library)" msgstr "B (библиотека нитей POSIX)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This is the modern Pthreads implementation. By comparison with " "LinuxThreads, NPTL provides closer conformance to the requirements of the " "POSIX.1 specification and better performance when creating large numbers of " "threads. NPTL is available since glibc 2.3.2, and requires features that " "are present in the Linux 2.6 kernel." msgstr "" "Современная реализация pthreads. По сравнению с LinuxThreads, NPTL более " "точно соответствует требованиям POSIX.1 и более производительна при создании " "большого количества нитей. NPTL появилась в glibc начиная с версии 2.3.2, и " "требует свойства, появившиеся в ядре Linux 2.6." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Both of these are so-called 1:1 implementations, meaning that each thread " "maps to a kernel scheduling entity. Both threading implementations employ " "the Linux B(2) system call. In NPTL, thread synchronization " "primitives (mutexes, thread joining, and so on) are implemented using the " "Linux B(2) system call." msgstr "" "Обе реализации являются, так называемыми реализациями 1:1, то есть каждая " "нить отображается в планируемый элемента ядра. Обе реализации используют " "системный вызов Linux B(2). В NPTL примитивы синхронизации нитей " "(мьютексы, объединение нитей и т .п.) реализованы с помощью системного " "вызова Linux B(2)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LinuxThreads" msgstr "LinuxThreads" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The notable features of this implementation are the following:" msgstr "Отличительные свойства данной реализации:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In addition to the main (initial) thread, and the threads that the program " "creates using B(3), the implementation creates a \"manager\" " "thread. This thread handles thread creation and termination. (Problems can " "result if this thread is inadvertently killed.)" msgstr "" "В дополнении к главной (начальной) нити, нити программы создаются с помощью " "B(3), реализация создаёт «управляющую» нить. Эта нить " "выполняет создание и завершение нитей (что приводит к проблемам, если эта " "нить случайно завершится)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Signals are used internally by the implementation. On Linux 2.2 and later, " "the first three real-time signals are used (see also B(7)). On " "older Linux kernels, B and B are used. Applications must " "avoid the use of whichever set of signals is employed by the implementation." msgstr "" "Внутри реализации используются сигналы. В Linux 2.2 и новее используются " "первые три сигнала реального времени (смотрите также B(7)). В старых " "ядрах Linux используются сигналы B и B. В приложениях " "нельзя использовать набор сигналов, задействованный в реализации." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Threads do not share process IDs. (In effect, LinuxThreads threads are " "implemented as processes which share more information than usual, but which " "do not share a common process ID.) LinuxThreads threads (including the " "manager thread) are visible as separate processes using B(1)." msgstr "" "У нитей разные ID процесса (фактически, нити LinuxThreads реализованы как " "процессы, у которых больше общей информации чем обычно, но которые имеют " "разный идентификаторы процесса). Нити LinuxThreads (включая управляющую " "нить) в B(1) видимы как отдельные процессы." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The LinuxThreads implementation deviates from the POSIX.1 specification in a " "number of ways, including the following:" msgstr "" "Реализация LinuxThreads отклоняется от спецификации POSIX.1 в нескольких " "местах, а именно:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Calls to B(2) return a different value in each thread." msgstr "Вызов B(2) возвращает разные значения для каждой нити." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Calls to B(2) in threads other than the main thread return the " "process ID of the manager thread; instead B(2) in these threads " "should return the same value as B(2) in the main thread." msgstr "" "Вызов B(2) в нитях, кроме главной, возвращает идентификатор " "процесса управляющей нити; вместо B(2) в этих нитях будет " "возвращаться тоже значение, что и из B(2) в главной нити." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When one thread creates a new child process using B(2), any thread " "should be able to B(2) on the child. However, the implementation " "allows only the thread that created the child to B(2) on it." msgstr "" "Когда нить создаёт новый процесс-потомок с помощью B(2), все нити " "должны ожидать потомка в B(2). Однако реализация позволяет вызвать " "B(2) только в нити, которая создала потомка." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When a thread calls B(2), all other threads are terminated (as " "required by POSIX.1). However, the resulting process has the same PID as " "the thread that called B(2): it should have the same PID as the main " "thread." msgstr "" "Когда нить вызывает B(2), остальные нити завершают работу " "(требование POSIX.1). Однако, получаемый процесс имеет тот же PID, что и " "нить, которая вызвала B(2): это должен быть тот же PID, что и у " "главной нити." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Threads do not share user and group IDs. This can cause complications with " "set-user-ID programs and can cause failures in Pthreads functions if an " "application changes its credentials using B(2) or similar." msgstr "" "У нитей разные ID пользователя и группы. Это может вызвать сложности в " "программах с set-user-ID и может привести к ошибкам функций pthreads, если " "приложение изменяет свои учётные данные с помощью B(2) и подобных " "вызовов." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Threads do not share a common session ID and process group ID." msgstr "У нитей разные ID сеанса и группы процессов." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Threads do not share record locks created using B(2)." msgstr "У нитей разные записи о блокировках, созданных B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The information returned by B(2) and B(2) is per-thread " "rather than process-wide." msgstr "" "Информация, возвращаемая B(2) и B(2), относится только к " "нити, а не к процессу в целом." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Threads do not share semaphore undo values (see B(2))." msgstr "У нитей разные значения отмен семафоров (смотрите B(2))." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Threads do not share interval timers." msgstr "У нитей разные интервалы таймеров." #. FIXME . bug report filed for NPTL nice nonconformance #. http://bugzilla.kernel.org/show_bug.cgi?id=6258 #. Sep 08: there is a patch by Denys Vlasenko to address this #. "make setpriority POSIX compliant; introduce PRIO_THREAD extension" #. Monitor this to see if it makes it into mainline. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Threads do not share a common nice value." msgstr "У нитей разные значения уступчивости." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "POSIX.1 distinguishes the notions of signals that are directed to the " "process as a whole and signals that are directed to individual threads. " "According to POSIX.1, a process-directed signal (sent using B(2), for " "example) should be handled by a single, arbitrarily selected thread within " "the process. LinuxThreads does not support the notion of process-directed " "signals: signals may be sent only to specific threads." msgstr "" "В POSIX.1 различаются сигналы, адресованные процессу в целом и отдельным " "нитям. Согласно POSIX.1, сигналы, направленные процессу (посланные, " "например, с помощью B(2)), должны обрабатываться одной произвольно " "выбранной нитью внутри процесса. LinuxThreads не поддерживает сигналы, " "направленные процессу: сигналы могут посылаться только определённым нитям." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Threads have distinct alternate signal stack settings. However, a new " "thread's alternate signal stack settings are copied from the thread that " "created it, so that the threads initially share an alternate signal stack. " "(A new thread should start with no alternate signal stack defined. If two " "threads handle signals on their shared alternate signal stack at the same " "time, unpredictable program failures are likely to occur.)" msgstr "" "Нити имеют разные настройки альтернативного стека сигналов. Однако, новые " "настройки альтернативного стека сигналов копируются из нити, которая его " "создаёт, так что изначально нити имеют единый альтернативный стек сигналов " "(новая нить должна запускаться без альтернативного стека сигналов. Если две " "нити обрабатывают сигналы в едином альтернативном стеке сигналов " "одновременно, то в программе возникнет непредсказуемая ошибка)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NPTL" msgstr "NPTL" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "With NPTL, all of the threads in a process are placed in the same thread " "group; all members of a thread group share the same PID. NPTL does not " "employ a manager thread." msgstr "" "В NPTL все нити процесса помещаются в одну группу нитей; все члены группы " "нитей имеют один PID. В NPTL нет управляющей нити." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "NPTL makes internal use of the first two real-time signals; these signals " "cannot be used in applications. See B(7) for further details." msgstr "" "Внутри NPTL используются первые два сигнала реального времени; эти сигналы " "нельзя использовать в приложениях. Подробности смотрите в B(7)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "NPTL still has at least one nonconformance with POSIX.1:" msgstr "NPTL тоже не соответствует POSIX.1, как минимум, в одном:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Some NPTL nonconformances occur only with older kernels:" msgstr "" "Несколько несоответствий NPTL проявляется только при работе со старыми " "ядрами:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "The information returned by B(2) and B(2) is per-" #| "thread rather than process-wide (fixed in kernel 2.6.9)." msgid "" "The information returned by B(2) and B(2) is per-thread " "rather than process-wide (fixed in Linux 2.6.9)." msgstr "" "Информация, возвращаемая B(2) и B(2), относится только к " "нити, а не к процессу в целом (исправлено в ядре 2.6.9)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "Threads do not share resource limits (fixed in kernel 2.6.10)." msgid "Threads do not share resource limits (fixed in Linux 2.6.10)." msgstr "У нитей разные ограничения по ресурсам (исправлено в ядре 2.6.10)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "Threads do not share interval timers (fixed in kernel 2.6.12)." msgid "Threads do not share interval timers (fixed in Linux 2.6.12)." msgstr "У нитей разные интервалы таймеров (исправлено в ядре 2.6.12)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Only the main thread is permitted to start a new session using " #| "B(2) (fixed in kernel 2.6.16)." msgid "" "Only the main thread is permitted to start a new session using B(2) " "(fixed in Linux 2.6.16)." msgstr "" "Только из главной нити разрешено запускать новый сеанс с помощью " "B(2) (исправлено в версии 2.6.16)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Only the main thread is permitted to make the process into a process " #| "group leader using B(2) (fixed in kernel 2.6.16)." msgid "" "Only the main thread is permitted to make the process into a process group " "leader using B(2) (fixed in Linux 2.6.16)." msgstr "" "Только из главной нити разрешено делать процесс лидером группы процессов с " "помощью B(2) (исправлено в версии 2.6.16)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Threads have distinct alternate signal stack settings. However, a new " #| "thread's alternate signal stack settings are copied from the thread that " #| "created it, so that the threads initially share an alternate signal stack " #| "(fixed in kernel 2.6.16)." msgid "" "Threads have distinct alternate signal stack settings. However, a new " "thread's alternate signal stack settings are copied from the thread that " "created it, so that the threads initially share an alternate signal stack " "(fixed in Linux 2.6.16)." msgstr "" "Нити имеют разные настройки альтернативного стека сигналов Однако, новые " "настройки альтернативного стека сигналов копируются из нити, которая его " "создаёт, так что изначально нити имеют единый альтернативный стек сигналов " "(исправлено в ядре 2.6.16)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Note the following further points about the NPTL implementation:" msgstr "Также стоит учитывать следующее о реализации NPTL:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the stack size soft resource limit (see the description of " "B in B(2)) is set to a value other than " "I, then this value defines the default stack size for new " "threads. To be effective, this limit must be set before the program is " "executed, perhaps using the I shell built-in command (I in the C shell)." msgstr "" "Если мягкое ограничение ресурса на размер стека (смотрите описание " "B в B(2)) устанавливается в значение, отличное от " "I, то это значение определяет размер стека по умолчанию для новых " "нитей. В целях эффективности, это ограничение должно быть установлено но " "выполнения программы, возможно с помощью встроенной команды оболочки " "I (I в оболочке C)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Determining the threading implementation" msgstr "Определение реализации нитей" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since glibc 2.3.2, the B(1) command can be used to determine the " "system's threading implementation, for example:" msgstr "" "Начиная с glibc 2.3.2, для определение реализации нитей в системе можно " "использовать команду B(1), например:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "bash$ getconf GNU_LIBPTHREAD_VERSION\n" "NPTL 2.3.4\n" msgstr "" "bash$ getconf GNU_LIBPTHREAD_VERSION\n" "NPTL 2.3.4\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "With older glibc versions, a command such as the following should be " "sufficient to determine the default threading implementation:" msgstr "При наличии старых версий glibc можно использовать команду:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "bash$ $( ldd /bin/ls | grep libc.so | awk \\(aq{print $3}\\(aq ) | \\e\n" #| " egrep -i \\(aqthreads|nptl\\(aq\n" #| " Native POSIX Threads Library by Ulrich Drepper et al\n" msgid "" "bash$ $( ldd /bin/ls | grep libc.so | awk \\[aq]{print $3}\\[aq] ) | \\[rs]\n" " egrep -i \\[aq]threads|nptl\\[aq]\n" " Native POSIX Threads Library by Ulrich Drepper et al\n" msgstr "" "bash$ $( ldd /bin/ls | grep libc.so | awk \\(aq{print $3}\\(aq ) | \\e\n" " egrep -i \\(aqthreads|nptl\\(aq\n" " Native POSIX Threads Library by Ulrich Drepper et al\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Selecting the threading implementation: LD_ASSUME_KERNEL" msgstr "Выбор реализации нитей: LD_ASSUME_KERNEL" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy #| msgid "" #| "On systems with a glibc that supports both LinuxThreads and NPTL (i.e., " #| "glibc 2.3.I), the B environment variable can be used " #| "to override the dynamic linker's default choice of threading " #| "implementation. This variable tells the dynamic linker to assume that it " #| "is running on top of a particular kernel version. By specifying a kernel " #| "version that does not provide the support required by NPTL, we can force " #| "the use of LinuxThreads. (The most likely reason for doing this is to " #| "run a (broken) application that depends on some nonconformant behavior in " #| "LinuxThreads.) For example:" msgid "" "On systems with a glibc that supports both LinuxThreads and NPTL (i.e., " "glibc 2.3.*), the B environment variable can be used to " "override the dynamic linker's default choice of threading implementation. " "This variable tells the dynamic linker to assume that it is running on top " "of a particular kernel version. By specifying a kernel version that does " "not provide the support required by NPTL, we can force the use of " "LinuxThreads. (The most likely reason for doing this is to run a (broken) " "application that depends on some nonconformant behavior in LinuxThreads.) " "For example:" msgstr "" "В системах с glibc, которая поддерживает и LinuxThreads и NPTL (например, " "glibc 2.3.I), можно воспользоваться переменной окружения " "B для замены выбранной динамическим компоновщиков " "реализации нитей по умолчанию. Эта переменная указывает динамическому " "компоновщику считать, что он запускается с определённой версией ядра в " "системе. Указав версию ядра, в которой не поддержки, требуемой NPTL, его " "можно заставить использовать LinuxThreads (наиболее вероятной причиной для " "этого будет необходимость запуска (сломанного) приложения, которое зависит " "от некоторого не совместимого поведения LinuxThreads). Пример:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "bash$ $( LD_ASSUME_KERNEL=2.2.5 ldd /bin/ls | grep libc.so | \\e\n" #| " awk \\(aq{print $3}\\(aq ) | egrep -i \\(aqthreads|nptl\\(aq\n" #| " linuxthreads-0.10 by Xavier Leroy\n" msgid "" "bash$ $( LD_ASSUME_KERNEL=2.2.5 ldd /bin/ls | grep libc.so | \\[rs]\n" " awk \\[aq]{print $3}\\[aq] ) | egrep -i \\[aq]threads|nptl\\[aq]\n" " linuxthreads-0.10 by Xavier Leroy\n" msgstr "" "bash$ $( LD_ASSUME_KERNEL=2.2.5 ldd /bin/ls | grep libc.so | \\e\n" " awk \\(aq{print $3}\\(aq ) | egrep -i \\(aqthreads|nptl\\(aq\n" " linuxthreads-0.10 by Xavier Leroy\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "СМОТРИТЕ ТАКЖЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "B(2), B(2), B(2), B(2), B(5), " #| "B(7), B(7), B(7), B(7), B(7)" msgid "" "B(2), B(2), B(2), B(2), B(5), " "B(7), B(7), B(7), B(3type), B(7)" msgstr "" "B(2), B(2), B(2), B(2), B(5), " "B(7), B(7), B(7), B(7), B(7)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Various Pthreads manual pages, for example: B(3), " "B(3), B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), " "B(3), B(3), " "B(3), B(3), B(3), " "and B(3)" msgstr "" "Различные справочные страницы pthreads, например: B(3), " "B(3), B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), " "B(3), B(3), " "B(3), B(3), B(3) и " "B(3)" #. type: TH #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "2024-06-15" msgstr "15 июня 2024 г." #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "Страницы руководства Linux 6.9.1" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "On systems with a glibc that supports both LinuxThreads and NPTL (i.e., " "glibc 2.3.I), the B environment variable can be used to " "override the dynamic linker's default choice of threading implementation. " "This variable tells the dynamic linker to assume that it is running on top " "of a particular kernel version. By specifying a kernel version that does " "not provide the support required by NPTL, we can force the use of " "LinuxThreads. (The most likely reason for doing this is to run a (broken) " "application that depends on some nonconformant behavior in LinuxThreads.) " "For example:" msgstr "" "В системах с glibc, которая поддерживает и LinuxThreads и NPTL (например, " "glibc 2.3.I), можно воспользоваться переменной окружения " "B для замены выбранной динамическим компоновщиков " "реализации нитей по умолчанию. Эта переменная указывает динамическому " "компоновщику считать, что он запускается с определённой версией ядра в " "системе. Указав версию ядра, в которой не поддержки, требуемой NPTL, его " "можно заставить использовать LinuxThreads (наиболее вероятной причиной для " "этого будет необходимость запуска (сломанного) приложения, которое зависит " "от некоторого не совместимого поведения LinuxThreads). Пример:" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "Страницы руководства Linux 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "Страницы руководства Linux 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Страницы руководства Linux (не выпущены)"