diff options
Diffstat (limited to 'po/ru/man7/pthreads.7.po')
-rw-r--r-- | po/ru/man7/pthreads.7.po | 2292 |
1 files changed, 2292 insertions, 0 deletions
diff --git a/po/ru/man7/pthreads.7.po b/po/ru/man7/pthreads.7.po new file mode 100644 index 00000000..a3db2271 --- /dev/null +++ b/po/ru/man7/pthreads.7.po @@ -0,0 +1,2292 @@ +# 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 <azamat.hackimov@gmail.com>, 2014-2017. +# kogamatranslator49 <r.podarov@yandex.ru>, 2015. +# Kogan, Darima <silverdk99@gmail.com>, 2014. +# Max Is <ismax799@gmail.com>, 2016. +# Yuri Kozlov <yuray@komyakino.ru>, 2011-2019. +# Иван Павлов <pavia00@gmail.com>, 2017. +msgid "" +msgstr "" +"Project-Id-Version: manpages-l10n\n" +"POT-Creation-Date: 2024-03-01 17:05+0100\n" +"PO-Revision-Date: 2019-10-12 08:58+0300\n" +"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n" +"Language-Team: Russian <man-pages-ru-talks@lists.sourceforge.net>\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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy, no-wrap +#| msgid "B<pthreads>(7)" +msgid "pthreads" +msgstr "B<pthreads>(7)" + +#. type: TH +#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#, no-wrap +msgid "2023-10-31" +msgstr "31 октября 2023 г." + +#. type: TH +#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#, no-wrap +msgid "Linux man-pages 6.06" +msgstr "Linux man-pages 6.06" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "NAME" +msgstr "ИМЯ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "pthreads - POSIX threads" +msgstr "pthreads - нити POSIX" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "DESCRIPTION" +msgstr "ОПИСАНИЕ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "\\[bu]" +msgstr "\\[bu]" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "process ID" +msgstr "идентификатор процесса" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "parent process ID" +msgstr "идентификатор родительского процесса" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "process group ID and session ID" +msgstr "Идентификатор группы процессов и сеанса" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "controlling terminal" +msgstr "Управляющий терминал" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "user and group IDs" +msgstr "Идентификаторы пользователя и группы" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "open file descriptors" +msgstr "Открытые файловые дескрипторы" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "record locks (see B<fcntl>(2))" +msgstr "Обычные блокировки (смотрите B<fcntl>(2))" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "signal dispositions" +msgstr "Обработчики сигналов" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "file mode creation mask (B<umask>(2))" +msgstr "Маска создания режима доступа к файлу (B<umask>(2))" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "current directory (B<chdir>(2)) and root directory (B<chroot>(2))" +msgstr "Текущий каталог (B<chdir>(2)) и корневой каталог (B<chroot>(2))" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"interval timers (B<setitimer>(2)) and POSIX timers (B<timer_create>(2))" +msgstr "" +"Интервальные таймеры (B<setitimer>(2)) и таймеры POSIX (B<timer_create>(2))" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "nice value (B<setpriority>(2))" +msgstr "Значение уступчивости (B<setpriority>(2))" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "resource limits (B<setrlimit>(2))" +msgstr "Ограничения по ресурсам (B<setrlimit>(2))" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"measurements of the consumption of CPU time (B<times>(2)) and resources " +"(B<getrusage>(2))" +msgstr "" +"Измерители потребления времени ЦП (B<times>(2)) и ресурсов (B<getrusage>(2))" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "thread ID (the I<pthread_t> data type)" +msgstr "Идентификатор нити (тип данных I<pthread_t>)" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "signal mask (B<pthread_sigmask>(3))" +msgstr "Маска сигналов (B<pthread_sigmask>(3))" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "the I<errno> variable" +msgstr "Переменная I<errno>" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "alternate signal stack (B<sigaltstack>(2))" +msgstr "Альтернативный стек сигнала (B<sigaltstack>(2))" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "real-time scheduling policy and priority (B<sched>(7))" +msgstr "Алгоритм и приоритет планирования реального времени (B<sched>(7))" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "The following Linux-specific features are also per-thread:" +msgstr "" +"Следующие свойства есть только в Linux и также уникальны в каждой нити:" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "capabilities (see B<capabilities>(7))" +msgstr "мандаты (смотрите B<capabilities>(7))" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "CPU affinity (B<sched_setaffinity>(2))" +msgstr "Привязка к ЦП (B<sched_setaffinity>(2))" + +#. type: SS +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Pthreads function return values" +msgstr "Возвращаемые значения из функций pthreads" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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<errno>. 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<EINTR>." +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<errno> by conventional system calls and C " +"library functions. Note that the pthreads functions do not set I<errno>. " +"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<EINTR>." +msgstr "" +"Большинство функций pthreads при успешном выполнении возвращает 0 или номер " +"ошибки в противном случае. Заметим, что функции pthreads не изменяют " +"I<errno>. Для каждой функции pthreads, которая может вернуть ошибку, в " +"POSIX.1-2001 определено, что функция никогда не может завершиться с ошибкой " +"B<EINTR>." + +#. type: SS +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Thread IDs" +msgstr "Идентификатор нити" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"Each of the threads in a process has a unique thread identifier (stored in " +"the type I<pthread_t>). This identifier is returned to the caller of " +"B<pthread_create>(3), and a thread can obtain its own thread identifier " +"using B<pthread_self>(3)." +msgstr "" +"Каждой нити процесса назначается уникальный идентификатор нити (имеет тип " +"I<pthread_t>). Этот идентификатор возвращается вызывающему " +"B<pthread_create>(3), а в самой нити её идентификатор можно получить с " +"помощью B<pthread_self>(3)." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Thread-safe functions" +msgstr "Нитебезопасные функции" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Async-cancel-safe functions" +msgstr "Безопасные асинхронные отменяемые функции" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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<pthread_setcancelstate>(3))." +msgstr "" +"Безопасная асинхронная отменяемая функция (async-cancel-safe function) — это " +"функция, которую можно безопасно вызывать в приложении, в котором разрешено " +"асинхронная отмена (смотрите B<pthread_setcancelstate>(3))." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy, no-wrap +#| msgid "Cancellation points" +msgid "Cancelation points" +msgstr "Точки отмены" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Compiling on Linux" +msgstr "Компиляция в Linux" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"On Linux, programs that use the Pthreads API should be compiled using I<cc -" +"pthread>." +msgstr "" +"В Linux, программы, использующие программный интерфейс pthreads, должны " +"компилироваться с помощью I<cc -pthread>." + +#. type: SS +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Linux implementations of POSIX threads" +msgstr "Реализации нитей POSIX в Linux" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "B<LinuxThreads>" +msgstr "B<LinuxThreads>" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "B<NPTL> (Native POSIX Threads Library)" +msgstr "B<NPTL> (библиотека нитей POSIX)" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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<clone>(2) system call. In NPTL, thread synchronization " +"primitives (mutexes, thread joining, and so on) are implemented using the " +"Linux B<futex>(2) system call." +msgstr "" +"Обе реализации являются, так называемыми реализациями 1:1, то есть каждая " +"нить отображается в планируемый элемента ядра. Обе реализации используют " +"системный вызов Linux B<clone>(2). В NPTL примитивы синхронизации нитей " +"(мьютексы, объединение нитей и т .п.) реализованы с помощью системного " +"вызова Linux B<futex>(2)." + +#. type: SS +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "LinuxThreads" +msgstr "LinuxThreads" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "The notable features of this implementation are the following:" +msgstr "Отличительные свойства данной реализации:" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"In addition to the main (initial) thread, and the threads that the program " +"creates using B<pthread_create>(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<pthread_create>(3), реализация создаёт «управляющую» нить. Эта нить " +"выполняет создание и завершение нитей (что приводит к проблемам, если эта " +"нить случайно завершится)." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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<signal>(7)). On " +"older Linux kernels, B<SIGUSR1> and B<SIGUSR2> are used. Applications must " +"avoid the use of whichever set of signals is employed by the implementation." +msgstr "" +"Внутри реализации используются сигналы. В Linux 2.2 и новее используются " +"первые три сигнала реального времени (смотрите также B<signal>(7)). В старых " +"ядрах Linux используются сигналы B<SIGUSR1> и B<SIGUSR2>. В приложениях " +"нельзя использовать набор сигналов, задействованный в реализации." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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<ps>(1)." +msgstr "" +"У нитей разные ID процесса (фактически, нити LinuxThreads реализованы как " +"процессы, у которых больше общей информации чем обычно, но которые имеют " +"разный идентификаторы процесса). Нити LinuxThreads (включая управляющую " +"нить) в B<ps>(1) видимы как отдельные процессы." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "Calls to B<getpid>(2) return a different value in each thread." +msgstr "Вызов B<getpid>(2) возвращает разные значения для каждой нити." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"Calls to B<getppid>(2) in threads other than the main thread return the " +"process ID of the manager thread; instead B<getppid>(2) in these threads " +"should return the same value as B<getppid>(2) in the main thread." +msgstr "" +"Вызов B<getppid>(2) в нитях, кроме главной, возвращает идентификатор " +"процесса управляющей нити; вместо B<getppid>(2) в этих нитях будет " +"возвращаться тоже значение, что и из B<getppid>(2) в главной нити." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"When one thread creates a new child process using B<fork>(2), any thread " +"should be able to B<wait>(2) on the child. However, the implementation " +"allows only the thread that created the child to B<wait>(2) on it." +msgstr "" +"Когда нить создаёт новый процесс-потомок с помощью B<fork>(2), все нити " +"должны ожидать потомка в B<wait>(2). Однако реализация позволяет вызвать " +"B<wait>(2) только в нити, которая создала потомка." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"When a thread calls B<execve>(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<execve>(2): it should have the same PID as the main " +"thread." +msgstr "" +"Когда нить вызывает B<execve>(2), остальные нити завершают работу " +"(требование POSIX.1). Однако, получаемый процесс имеет тот же PID, что и " +"нить, которая вызвала B<execve>(2): это должен быть тот же PID, что и у " +"главной нити." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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<seteuid>(2) or similar." +msgstr "" +"У нитей разные ID пользователя и группы. Это может вызвать сложности в " +"программах с set-user-ID и может привести к ошибкам функций pthreads, если " +"приложение изменяет свои учётные данные с помощью B<seteuid>(2) и подобных " +"вызовов." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "Threads do not share a common session ID and process group ID." +msgstr "У нитей разные ID сеанса и группы процессов." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "Threads do not share record locks created using B<fcntl>(2)." +msgstr "У нитей разные записи о блокировках, созданных B<fcntl>(2)." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"The information returned by B<times>(2) and B<getrusage>(2) is per-thread " +"rather than process-wide." +msgstr "" +"Информация, возвращаемая B<times>(2) и B<getrusage>(2), относится только к " +"нити, а не к процессу в целом." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "Threads do not share semaphore undo values (see B<semop>(2))." +msgstr "У нитей разные значения отмен семафоров (смотрите B<semop>(2))." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "Threads do not share a common nice value." +msgstr "У нитей разные значения уступчивости." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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<kill>(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<kill>(2)), должны обрабатываться одной произвольно " +"выбранной нитью внутри процесса. LinuxThreads не поддерживает сигналы, " +"направленные процессу: сигналы могут посылаться только определённым нитям." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "NPTL" +msgstr "NPTL" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"NPTL makes internal use of the first two real-time signals; these signals " +"cannot be used in applications. See B<nptl>(7) for further details." +msgstr "" +"Внутри NPTL используются первые два сигнала реального времени; эти сигналы " +"нельзя использовать в приложениях. Подробности смотрите в B<nptl>(7)." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "NPTL still has at least one nonconformance with POSIX.1:" +msgstr "NPTL тоже не соответствует POSIX.1, как минимум, в одном:" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "Some NPTL nonconformances occur only with older kernels:" +msgstr "" +"Несколько несоответствий NPTL проявляется только при работе со старыми " +"ядрами:" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy +#| msgid "" +#| "The information returned by B<times>(2) and B<getrusage>(2) is per-" +#| "thread rather than process-wide (fixed in kernel 2.6.9)." +msgid "" +"The information returned by B<times>(2) and B<getrusage>(2) is per-thread " +"rather than process-wide (fixed in Linux 2.6.9)." +msgstr "" +"Информация, возвращаемая B<times>(2) и B<getrusage>(2), относится только к " +"нити, а не к процессу в целом (исправлено в ядре 2.6.9)." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy +#| msgid "" +#| "Only the main thread is permitted to start a new session using " +#| "B<setsid>(2) (fixed in kernel 2.6.16)." +msgid "" +"Only the main thread is permitted to start a new session using B<setsid>(2) " +"(fixed in Linux 2.6.16)." +msgstr "" +"Только из главной нити разрешено запускать новый сеанс с помощью " +"B<setsid>(2) (исправлено в версии 2.6.16)." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy +#| msgid "" +#| "Only the main thread is permitted to make the process into a process " +#| "group leader using B<setpgid>(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<setpgid>(2) (fixed in Linux 2.6.16)." +msgstr "" +"Только из главной нити разрешено делать процесс лидером группы процессов с " +"помощью B<setpgid>(2) (исправлено в версии 2.6.16)." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "Note the following further points about the NPTL implementation:" +msgstr "Также стоит учитывать следующее о реализации NPTL:" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"If the stack size soft resource limit (see the description of " +"B<RLIMIT_STACK> in B<setrlimit>(2)) is set to a value other than " +"I<unlimited>, 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<ulimit -s> shell built-in command (I<limit " +"stacksize> in the C shell)." +msgstr "" +"Если мягкое ограничение ресурса на размер стека (смотрите описание " +"B<RLIMIT_STACK> в B<setrlimit>(2)) устанавливается в значение, отличное от " +"I<unlimited>, то это значение определяет размер стека по умолчанию для новых " +"нитей. В целях эффективности, это ограничение должно быть установлено но " +"выполнения программы, возможно с помощью встроенной команды оболочки " +"I<ulimit -s> (I<limit stacksize> в оболочке C)." + +#. type: SS +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Determining the threading implementation" +msgstr "Определение реализации нитей" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"Since glibc 2.3.2, the B<getconf>(1) command can be used to determine the " +"system's threading implementation, for example:" +msgstr "" +"Начиная с glibc 2.3.2, для определение реализации нитей в системе можно " +"использовать команду B<getconf>(1), например:" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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] ) | \\e\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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Selecting the threading implementation: LD_ASSUME_KERNEL" +msgstr "Выбор реализации нитей: LD_ASSUME_KERNEL" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"On systems with a glibc that supports both LinuxThreads and NPTL (i.e., " +"glibc 2.3.I<x>), the B<LD_ASSUME_KERNEL> 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<x>), можно воспользоваться переменной окружения " +"B<LD_ASSUME_KERNEL> для замены выбранной динамическим компоновщиков " +"реализации нитей по умолчанию. Эта переменная указывает динамическому " +"компоновщику считать, что он запускается с определённой версией ядра в " +"системе. Указав версию ядра, в которой не поддержки, требуемой NPTL, его " +"можно заставить использовать LinuxThreads (наиболее вероятной причиной для " +"этого будет необходимость запуска (сломанного) приложения, которое зависит " +"от некоторого не совместимого поведения LinuxThreads). Пример:" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 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 | \\e\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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "SEE ALSO" +msgstr "СМ. ТАКЖЕ" + +#. type: Plain text +#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#, fuzzy +#| msgid "" +#| "B<clone>(2), B<fork>(2), B<futex>(2), B<gettid>(2), B<proc>(5), " +#| "B<attributes>(7), B<futex>(7), B<nptl>(7), B<sigevent>(7), B<signal>(7)" +msgid "" +"B<clone>(2), B<fork>(2), B<futex>(2), B<gettid>(2), B<proc>(5), " +"B<attributes>(7), B<futex>(7), B<nptl>(7), B<sigevent>(3type), B<signal>(7)" +msgstr "" +"B<clone>(2), B<fork>(2), B<futex>(2), B<gettid>(2), B<proc>(5), " +"B<attributes>(7), B<futex>(7), B<nptl>(7), B<sigevent>(7), B<signal>(7)" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"Various Pthreads manual pages, for example: B<pthread_atfork>(3), " +"B<pthread_attr_init>(3), B<pthread_cancel>(3), B<pthread_cleanup_push>(3), " +"B<pthread_cond_signal>(3), B<pthread_cond_wait>(3), B<pthread_create>(3), " +"B<pthread_detach>(3), B<pthread_equal>(3), B<pthread_exit>(3), " +"B<pthread_key_create>(3), B<pthread_kill>(3), B<pthread_mutex_lock>(3), " +"B<pthread_mutex_unlock>(3), B<pthread_mutexattr_destroy>(3), " +"B<pthread_mutexattr_init>(3), B<pthread_once>(3), B<pthread_spin_init>(3), " +"B<pthread_spin_lock>(3), B<pthread_rwlockattr_setkind_np>(3), " +"B<pthread_setcancelstate>(3), B<pthread_setcanceltype>(3), " +"B<pthread_setspecific>(3), B<pthread_sigmask>(3), B<pthread_sigqueue>(3), " +"and B<pthread_testcancel>(3)" +msgstr "" +"Различные справочные страницы pthreads, например: B<pthread_atfork>(3), " +"B<pthread_attr_init>(3), B<pthread_cancel>(3), B<pthread_cleanup_push>(3), " +"B<pthread_cond_signal>(3), B<pthread_cond_wait>(3), B<pthread_create>(3), " +"B<pthread_detach>(3), B<pthread_equal>(3), B<pthread_exit>(3), " +"B<pthread_key_create>(3), B<pthread_kill>(3), B<pthread_mutex_lock>(3), " +"B<pthread_mutex_unlock>(3), B<pthread_mutexattr_destroy>(3), " +"B<pthread_mutexattr_init>(3), B<pthread_once>(3), B<pthread_spin_init>(3), " +"B<pthread_spin_lock>(3), B<pthread_rwlockattr_setkind_np>(3), " +"B<pthread_setcancelstate>(3), B<pthread_setcanceltype>(3), " +"B<pthread_setspecific>(3), B<pthread_sigmask>(3), B<pthread_sigqueue>(3) и " +"B<pthread_testcancel>(3)" + +#. type: TH +#: debian-bookworm +#, no-wrap +msgid "2023-02-05" +msgstr "5 февраля 2023 г." + +#. type: TH +#: debian-bookworm +#, no-wrap +msgid "Linux man-pages 6.03" +msgstr "Linux man-pages 6.03" + +#. type: SS +#: debian-bookworm +#, no-wrap +msgid "Cancellation points" +msgstr "Точки отмены" + +#. type: Plain text +#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"B<clone>(2), B<fork>(2), B<futex>(2), B<gettid>(2), B<proc>(5), " +"B<attributes>(7), B<futex>(7), B<nptl>(7), B<sigevent>(7), B<signal>(7)" +msgstr "" +"B<clone>(2), B<fork>(2), B<futex>(2), B<gettid>(2), B<proc>(5), " +"B<attributes>(7), B<futex>(7), B<nptl>(7), B<sigevent>(7), B<signal>(7)" + +#. type: TH +#: debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "2023-03-18" +msgstr "18 марта 2023 г." + +#. type: TH +#: debian-unstable opensuse-tumbleweed +#, no-wrap +msgid "Linux man-pages 6.05.01" +msgstr "Linux man-pages 6.05.01" + +#. type: TH +#: opensuse-leap-15-6 +#, no-wrap +msgid "Linux man-pages 6.04" +msgstr "Linux man-pages 6.04" |