Документация Python неофициальный перевод

someos.md

79 строк · 8.1 КБ · обычная страница · сырой текст · скачать

1> **Источник:** https://python-all.ru/3.1/library/someos.html2>3> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.45---67# 16. Дополнительные службы операционной системы89Модули, описанные в этой главе, предоставляют интерфейсы к функциям операционной системы, которые доступны только на отдельных операционных системах. Как правило, эти интерфейсы являются аналогами интерфейсов Unix или C, но они также доступны на некоторых других системах (например, Windows). Ниже приведен обзор:1011- [16.1. `select` – Ожидание завершения ввода-вывода](https://python-all.ru/3.1/library/select.html)1213  - [16.1.1. Объекты опроса по переднему фронту и по уровню (epoll)](https://python-all.ru/3.1/library/select.html#edge-and-level-trigger-polling-epoll-objects)14  - [16.1.2. Объекты опроса](https://python-all.ru/3.1/library/select.html#polling-objects)15  - [16.1.3. Объекты kqueue](https://python-all.ru/3.1/library/select.html#kqueue-objects)16  - [16.1.4. Объекты kevent](https://python-all.ru/3.1/library/select.html#kevent-objects)17- [16.2. `threading` – Параллелизм на основе потоков](https://python-all.ru/3.1/library/threading.html)1819  - [16.2.1. Объекты потоков](https://python-all.ru/3.1/library/threading.html#thread-objects)20  - [16.2.2. Объекты блокировок](https://python-all.ru/3.1/library/threading.html#lock-objects)21  - [16.2.3. Объекты RLock](https://python-all.ru/3.1/library/threading.html#rlock-objects)22  - [16.2.4. Объекты Condition](https://python-all.ru/3.1/library/threading.html#condition-objects)23  - [16.2.5. Объекты семафоров](https://python-all.ru/3.1/library/threading.html#semaphore-objects)2425    - [16.2.5.1. Пример с `Semaphore`](https://python-all.ru/3.1/library/threading.html#semaphore-example)26  - [16.2.6. Объекты событий](https://python-all.ru/3.1/library/threading.html#event-objects)27  - [16.2.7. Объекты таймеров](https://python-all.ru/3.1/library/threading.html#timer-objects)28  - [16.2.8. Использование блокировок, условий и семафоров в операторе `with`](https://python-all.ru/3.1/library/threading.html#using-locks-conditions-and-semaphores-in-the-with-statement)29  - [16.2.9. Импорт в многопоточном коде](https://python-all.ru/3.1/library/threading.html#importing-in-threaded-code)30- [16.3. `multiprocessing` – Параллелизм на основе процессов](https://python-all.ru/3.1/library/multiprocessing.html)3132  - [16.3.1. Введение](https://python-all.ru/3.1/library/multiprocessing.html#introduction)3334    - [16.3.1.1. Класс `Process`](https://python-all.ru/3.1/library/multiprocessing.html#the-process-class)35    - [16.3.1.2. Обмен объектами между процессами](https://python-all.ru/3.1/library/multiprocessing.html#exchanging-objects-between-processes)36    - [16.3.1.3. Синхронизация между процессами](https://python-all.ru/3.1/library/multiprocessing.html#synchronization-between-processes)37    - [16.3.1.4. Разделение состояния между процессами](https://python-all.ru/3.1/library/multiprocessing.html#sharing-state-between-processes)38    - [16.3.1.5. Использование пула процессов](https://python-all.ru/3.1/library/multiprocessing.html#using-a-pool-of-workers)39  - [16.3.2. Справочник](https://python-all.ru/3.1/library/multiprocessing.html#reference)4041    - [16.3.2.1. `процесс` и исключения](https://python-all.ru/3.1/library/multiprocessing.html#process-and-exceptions)42    - [16.3.2.2. Каналы и очереди](https://python-all.ru/3.1/library/multiprocessing.html#pipes-and-queues)43    - [16.3.2.3. Разное](https://python-all.ru/3.1/library/multiprocessing.html#miscellaneous)44    - [16.3.2.4. Объекты соединений](https://python-all.ru/3.1/library/multiprocessing.html#connection-objects)45    - [16.3.2.5. Примитивы синхронизации](https://python-all.ru/3.1/library/multiprocessing.html#synchronization-primitives)46    - [16.3.2.6. Разделяемые `ctypes` объекты](https://python-all.ru/3.1/library/multiprocessing.html#shared-ctypes-objects)4748      - [16.3.2.6.1. Модуль `multiprocessing.sharedctypes`](https://python-all.ru/3.1/library/multiprocessing.html#module-multiprocessing.sharedctypes)49    - [16.3.2.7. Менеджеры](https://python-all.ru/3.1/library/multiprocessing.html#module-multiprocessing.managers)5051      - [16.3.2.7.1. Объекты пространства имён](https://python-all.ru/3.1/library/multiprocessing.html#namespace-objects)52      - [16.3.2.7.2. Настраиваемые менеджеры](https://python-all.ru/3.1/library/multiprocessing.html#customized-managers)53      - [16.3.2.7.3. Использование удалённого менеджера](https://python-all.ru/3.1/library/multiprocessing.html#using-a-remote-manager)54    - [16.3.2.8. Объекты-прокси](https://python-all.ru/3.1/library/multiprocessing.html#proxy-objects)5556      - [16.3.2.8.1. Очистка](https://python-all.ru/3.1/library/multiprocessing.html#cleanup)57    - [16.3.2.9. Пулы процессов](https://python-all.ru/3.1/library/multiprocessing.html#module-multiprocessing.pool)58    - [16.3.2.10. Слушатели и клиенты](https://python-all.ru/3.1/library/multiprocessing.html#module-multiprocessing.connection)5960      - [16.3.2.10.1. Форматы адресов](https://python-all.ru/3.1/library/multiprocessing.html#address-formats)61    - [16.3.2.11. Ключи аутентификации](https://python-all.ru/3.1/library/multiprocessing.html#authentication-keys)62    - [16.3.2.12. Журналирование](https://python-all.ru/3.1/library/multiprocessing.html#logging)63    - [16.3.2.13. Модуль `multiprocessing.dummy`](https://python-all.ru/3.1/library/multiprocessing.html#module-multiprocessing.dummy)64  - [16.3.3. Рекомендации по программированию](https://python-all.ru/3.1/library/multiprocessing.html#programming-guidelines)6566    - [16.3.3.1. Все платформы](https://python-all.ru/3.1/library/multiprocessing.html#all-platforms)67    - [16.3.3.2. Windows](https://python-all.ru/3.1/library/multiprocessing.html#windows)68  - [16.3.4. Примеры](https://python-all.ru/3.1/library/multiprocessing.html#examples)69- [16.4. `mmap` – поддержка файлов, отображаемых в память](https://python-all.ru/3.1/library/mmap.html)70- [16.5. `readline` – интерфейс GNU readline](https://python-all.ru/3.1/library/readline.html)7172  - [16.5.1. Пример](https://python-all.ru/3.1/library/readline.html#example)73- [16.6. `rlcompleter` – функция завершения для GNU readline](https://python-all.ru/3.1/library/rlcompleter.html)7475  - [16.6.1. Объекты Completer](https://python-all.ru/3.1/library/rlcompleter.html#completer-objects)76- [16.7. `dummy_threading` – прямая замена модуля `threading`](https://python-all.ru/3.1/library/dummy_threading.html)77- [16.8. `_thread` – низкоуровневый API многопоточности](https://python-all.ru/3.1/library/_thread.html)78- [16.9. `_dummy_thread` – прямая замена модуля `_thread`](https://python-all.ru/3.1/library/_dummy_thread.html)79