someos.md
1> **Источник:** https://python-all.ru/3.2/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.2/library/select.html)1213 - [16.1.1. Объекты опроса по переднему фронту и по уровню (epoll)](https://python-all.ru/3.2/library/select.html#edge-and-level-trigger-polling-epoll-objects)14 - [16.1.2. Объекты опроса](https://python-all.ru/3.2/library/select.html#polling-objects)15 - [16.1.3. Объекты kqueue](https://python-all.ru/3.2/library/select.html#kqueue-objects)16 - [16.1.4. Объекты kevent](https://python-all.ru/3.2/library/select.html#kevent-objects)17- [16.2. `threading` – Параллелизм на основе потоков](https://python-all.ru/3.2/library/threading.html)1819 - [16.2.1. Объекты потоков](https://python-all.ru/3.2/library/threading.html#thread-objects)20 - [16.2.2. Объекты блокировок](https://python-all.ru/3.2/library/threading.html#lock-objects)21 - [16.2.3. Объекты RLock](https://python-all.ru/3.2/library/threading.html#rlock-objects)22 - [16.2.4. Объекты Condition](https://python-all.ru/3.2/library/threading.html#condition-objects)2324 - [16.2.4.1. Использование](https://python-all.ru/3.2/library/threading.html#usage)25 - [16.2.4.2. Интерфейс](https://python-all.ru/3.2/library/threading.html#interface)26 - [16.2.5. Объекты семафоров](https://python-all.ru/3.2/library/threading.html#semaphore-objects)2728 - [16.2.5.1. Пример с `Semaphore`](https://python-all.ru/3.2/library/threading.html#semaphore-example)29 - [16.2.6. Объекты событий](https://python-all.ru/3.2/library/threading.html#event-objects)30 - [16.2.7. Объекты таймеров](https://python-all.ru/3.2/library/threading.html#timer-objects)31 - [16.2.8. Объекты Barrier](https://python-all.ru/3.2/library/threading.html#barrier-objects)32 - [16.2.9. Использование блокировок, условий и семафоров в операторе `with`](https://python-all.ru/3.2/library/threading.html#using-locks-conditions-and-semaphores-in-the-with-statement)33 - [16.2.10. Импорт в многопоточном коде](https://python-all.ru/3.2/library/threading.html#importing-in-threaded-code)34- [16.3. `multiprocessing` – Параллелизм на основе процессов](https://python-all.ru/3.2/library/multiprocessing.html)3536 - [16.3.1. Введение](https://python-all.ru/3.2/library/multiprocessing.html#introduction)3738 - [16.3.1.1. Класс `Process`](https://python-all.ru/3.2/library/multiprocessing.html#the-process-class)39 - [16.3.1.2. Обмен объектами между процессами](https://python-all.ru/3.2/library/multiprocessing.html#exchanging-objects-between-processes)40 - [16.3.1.3. Синхронизация между процессами](https://python-all.ru/3.2/library/multiprocessing.html#synchronization-between-processes)41 - [16.3.1.4. Разделение состояния между процессами](https://python-all.ru/3.2/library/multiprocessing.html#sharing-state-between-processes)42 - [16.3.1.5. Использование пула процессов](https://python-all.ru/3.2/library/multiprocessing.html#using-a-pool-of-workers)43 - [16.3.2. Справочник](https://python-all.ru/3.2/library/multiprocessing.html#reference)4445 - [16.3.2.1. `процесс` и исключения](https://python-all.ru/3.2/library/multiprocessing.html#process-and-exceptions)46 - [16.3.2.2. Каналы и очереди](https://python-all.ru/3.2/library/multiprocessing.html#pipes-and-queues)47 - [16.3.2.3. Разное](https://python-all.ru/3.2/library/multiprocessing.html#miscellaneous)48 - [16.3.2.4. Объекты соединений](https://python-all.ru/3.2/library/multiprocessing.html#connection-objects)49 - [16.3.2.5. Примитивы синхронизации](https://python-all.ru/3.2/library/multiprocessing.html#synchronization-primitives)50 - [16.3.2.6. Разделяемые `ctypes` объекты](https://python-all.ru/3.2/library/multiprocessing.html#shared-ctypes-objects)5152 - [16.3.2.6.1. Модуль `multiprocessing.sharedctypes`](https://python-all.ru/3.2/library/multiprocessing.html#module-multiprocessing.sharedctypes)53 - [16.3.2.7. Менеджеры](https://python-all.ru/3.2/library/multiprocessing.html#managers)5455 - [16.3.2.7.1. Объекты пространства имён](https://python-all.ru/3.2/library/multiprocessing.html#namespace-objects)56 - [16.3.2.7.2. Настраиваемые менеджеры](https://python-all.ru/3.2/library/multiprocessing.html#customized-managers)57 - [16.3.2.7.3. Использование удалённого менеджера](https://python-all.ru/3.2/library/multiprocessing.html#using-a-remote-manager)58 - [16.3.2.8. Объекты-прокси](https://python-all.ru/3.2/library/multiprocessing.html#proxy-objects)5960 - [16.3.2.8.1. Очистка](https://python-all.ru/3.2/library/multiprocessing.html#cleanup)61 - [16.3.2.9. Пулы процессов](https://python-all.ru/3.2/library/multiprocessing.html#module-multiprocessing.pool)62 - [16.3.2.10. Слушатели и клиенты](https://python-all.ru/3.2/library/multiprocessing.html#module-multiprocessing.connection)6364 - [16.3.2.10.1. Форматы адресов](https://python-all.ru/3.2/library/multiprocessing.html#address-formats)65 - [16.3.2.11. Ключи аутентификации](https://python-all.ru/3.2/library/multiprocessing.html#authentication-keys)66 - [16.3.2.12. Журналирование](https://python-all.ru/3.2/library/multiprocessing.html#logging)67 - [16.3.2.13. Модуль `multiprocessing.dummy`](https://python-all.ru/3.2/library/multiprocessing.html#module-multiprocessing.dummy)68 - [16.3.3. Рекомендации по программированию](https://python-all.ru/3.2/library/multiprocessing.html#programming-guidelines)6970 - [16.3.3.1. Все платформы](https://python-all.ru/3.2/library/multiprocessing.html#all-platforms)71 - [16.3.3.2. Windows](https://python-all.ru/3.2/library/multiprocessing.html#windows)72 - [16.3.4. Примеры](https://python-all.ru/3.2/library/multiprocessing.html#examples)73- [16.4. `concurrent.futures` – запуск параллельных задач](https://python-all.ru/3.2/library/concurrent.futures.html)7475 - [16.4.1. Объекты исполнителя](https://python-all.ru/3.2/library/concurrent.futures.html#executor-objects)76 - [16.4.2. ThreadPoolExecutor](https://python-all.ru/3.2/library/concurrent.futures.html#threadpoolexecutor)7778 - [16.4.2.1. Пример ThreadPoolExecutor](https://python-all.ru/3.2/library/concurrent.futures.html#threadpoolexecutor-example)79 - [16.4.3. ProcessPoolExecutor](https://python-all.ru/3.2/library/concurrent.futures.html#processpoolexecutor)8081 - [16.4.3.1. Пример ProcessPoolExecutor](https://python-all.ru/3.2/library/concurrent.futures.html#processpoolexecutor-example)82 - [16.4.4. Объекты Future](https://python-all.ru/3.2/library/concurrent.futures.html#future-objects)83 - [16.4.5. Функции модуля](https://python-all.ru/3.2/library/concurrent.futures.html#module-functions)84- [16.5. `mmap` – Поддержка файлов, отображаемых в память](https://python-all.ru/3.2/library/mmap.html)85- [16.6. `readline` – Интерфейс GNU readline](https://python-all.ru/3.2/library/readline.html)8687 - [16.6.1. Пример](https://python-all.ru/3.2/library/readline.html#example)88- [16.7. `rlcompleter` – Функция автодополнения для GNU readline](https://python-all.ru/3.2/library/rlcompleter.html)8990 - [16.7.1. Объекты Completer](https://python-all.ru/3.2/library/rlcompleter.html#completer-objects)91- [16.8. `dummy_threading` – Прозрачная замена модуля `threading`](https://python-all.ru/3.2/library/dummy_threading.html)92- [16.9. `_thread` – Низкоуровневый API потоков](https://python-all.ru/3.2/library/_thread.html)93- [16.10. `_dummy_thread` – Прозрачная замена модуля `_thread`](https://python-all.ru/3.2/library/_dummy_thread.html)94