per page, with , order by , clip by
Results of 1 - 10 of about 183 for threads (0.005 sec.)
Thread Safety Guarantees — Python 3.14.8 ドキュメント 10243
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui ... ialized. For general guidance on writing thread-safe code in free-threaded Python, see Python support for free threading . Thread safety levels ¶ The C API documentation uses the following levels to describe the thread safety guarantees of each function ... unction that modifies process-wide state such as signal handlers or environment variables, where concurrent calls from any threads, even with external locking, can conflict with the runtime or other libraries. Compatible ¶ A function or operation that i ... s safe to call from multiple threads provided the caller supplies appropriate external synchronization, for example by holding a lock for the duration of each ...
https://man.mtool.work/python/3.14/builtins/threadsafety.html
Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 10243
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread states and the global interpreter lock テーマ 自動 ライト ダーク | Thread states and the global interpreter lock ¶ Unless ... ts. Without the lock, even the simplest operations could cause problems in a multi-threaded program: for example, when two threads simultaneously increment the reference count of the same object, the reference count could end up being incremented only o ... ate on Python objects or invoke Python's C API. In order to emulate concurrency, the interpreter regularly tries to switch threads between bytecode instructions (see sys.setswitchinterval() ). This is why locks are also necessary for thread-safety in pu ... leased around blocking I/O operations, such as reading or writing to a file. From the C API, this is done by detaching the thread state . The Python interpreter keeps some thread-local information inside a data structure called PyThreadState , known as ...
https://man.mtool.work/python/3.14/c-api/threads.html
Thread Safety Guarantees — Python 3.14.8 ドキュメント 10243
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui ... ialized. For general guidance on writing thread-safe code in free-threaded Python, see Python support for free threading . Thread safety levels ¶ The C API documentation uses the following levels to describe the thread safety guarantees of each function ... unction that modifies process-wide state such as signal handlers or environment variables, where concurrent calls from any threads, even with external locking, can conflict with the runtime or other libraries. Compatible ¶ A function or operation that i ... s safe to call from multiple threads provided the caller supplies appropriate external synchronization, for example by holding a lock for the duration of each ...
https://man.mtool.work/python/3.14/builtins/threadsafety.html
Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 10243
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread states and the global interpreter lock テーマ 自動 ライト ダーク | Thread states and the global interpreter lock ¶ Unless ... ts. Without the lock, even the simplest operations could cause problems in a multi-threaded program: for example, when two threads simultaneously increment the reference count of the same object, the reference count could end up being incremented only o ... ate on Python objects or invoke Python's C API. In order to emulate concurrency, the interpreter regularly tries to switch threads between bytecode instructions (see sys.setswitchinterval() ). This is why locks are also necessary for thread-safety in pu ... leased around blocking I/O operations, such as reading or writing to a file. From the C API, this is done by detaching the thread state . The Python interpreter keeps some thread-local information inside a data structure called PyThreadState , known as ...
https://man.mtool.work/python/3.14/c-api/threads.html
asyncio and free-threaded Python — Python 3.14.8 ドキュメント 10144
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio and free-threaded Python テーマ 自動 ライト ダーク | asyncio an ... request computation, that handling becomes the bottleneck, and a single core can no longer keep up. Combining asyncio with threads is most useful here: by running an event loop per thread, the handling of different requests can run in parallel across mu ... s that make asyncio safe and efficient under free-threaded Python, together with benchmarks of the resulting improvements. Thread safety considerations ¶ While asyncio is designed to be thread-safe in a free-threaded Python environment, there are still ... some considerations to keep in mind when using asyncio with threads: Event loop : Each thread should have its own event loop which should not be shared across threads. This ensures that the ...
https://man.mtool.work/python/3.14/library/asyncio-threading.html
asyncio and free-threaded Python — Python 3.14.8 ドキュメント 10100
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio and free-threaded Python テーマ 自動 ライト ダーク | asyncio an ... request computation, that handling becomes the bottleneck, and a single core can no longer keep up. Combining asyncio with threads is most useful here: by running an event loop per thread, the handling of different requests can run in parallel across mu ... s that make asyncio safe and efficient under free-threaded Python, together with benchmarks of the resulting improvements. Thread safety considerations ¶ While asyncio is designed to be thread-safe in a free-threaded Python environment, there are still ... some considerations to keep in mind when using asyncio with threads: Event loop : Each thread should have its own event loop which should not be shared across threads. This ensures that the ...
https://man.mtool.work/python/3.14/library/asyncio-threading.html
threading --- スレッドベースの並列処理 — Python 3.14.8 ドキュメント 7837
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » threading --- スレッドベースの並列処理 テーマ 自動 ライト ダーク | threading --- スレッドベースの並列処理 ¶ ソースコード ... す。詳しくは、 WebAssembly プラットフォーム を見てください。 はじめに ¶ The threading module provides a way to run multiple threads (smaller units of a process) concurrently within a single process. It allows for the creation and management of threads, m ... aking it possible to execute tasks in parallel, sharing memory space. Threads are particularly useful when tasks are I/O bound, such as file operations or making network requests, where much of the ti ... me is spent waiting for external resources. A typical use case for threading includes managing a pool of worker threads that can process multiple tasks concurrently. Here's a basic example of creating and starting threads using Thread : impor ...
https://man.mtool.work/python/3.14/library/threading.html
threading --- スレッドベースの並列処理 — Python 3.14.8 ドキュメント 7837
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » threading --- スレッドベースの並列処理 テーマ 自動 ライト ダーク | threading --- スレッドベースの並列処理 ¶ ソースコード ... す。詳しくは、 WebAssembly プラットフォーム を見てください。 はじめに ¶ The threading module provides a way to run multiple threads (smaller units of a process) concurrently within a single process. It allows for the creation and management of threads, m ... aking it possible to execute tasks in parallel, sharing memory space. Threads are particularly useful when tasks are I/O bound, such as file operations or making network requests, where much of the ti ... me is spent waiting for external resources. A typical use case for threading includes managing a pool of worker threads that can process multiple tasks concurrently. Here's a basic example of creating and starting threads using Thread : impor ...
https://man.mtool.work/python/3.14/library/threading.html
concurrent.interpreters --- Multiple interpreters in the same process — Python ... 7738
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.interpreters --- Multiple interpreters in the same process テーマ 自動 ライト ダーク | concurrent.interpreter ... don't provide much more than isolation, which on its own isn't useful. Actual concurrency is available separately through threads -- see below . 参考 InterpreterPoolExecutor Combines threads with interpreters in a familiar interface. 拡張モジュールを分 ... , there are a small number of details to keep in mind about using multiple interpreters: isolated , by default no implicit threads not all PyPI packages support use in multiple interpreters yet はじめに ¶ An "interpreter" is effectively the execution co ... ers module provides a basic API for creating and managing interpreters, as well as the switch-and-call operation. No other threads are automatically started for the operation. There is a helper for that though. There is another dedicated helper for call ...
https://man.mtool.work/python/3.14/library/concurrent.interpreters.html
concurrent.interpreters --- Multiple interpreters in the same process — Python ... 7738
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.interpreters --- Multiple interpreters in the same process テーマ 自動 ライト ダーク | concurrent.interpreter ... don't provide much more than isolation, which on its own isn't useful. Actual concurrency is available separately through threads -- see below . 参考 InterpreterPoolExecutor Combines threads with interpreters in a familiar interface. 拡張モジュールを分 ... , there are a small number of details to keep in mind about using multiple interpreters: isolated , by default no implicit threads not all PyPI packages support use in multiple interpreters yet はじめに ¶ An "interpreter" is effectively the execution co ... ers module provides a basic API for creating and managing interpreters, as well as the switch-and-call operation. No other threads are automatically started for the operation. There is a helper for that though. There is another dedicated helper for call ...
https://man.mtool.work/python/3.14/library/concurrent.interpreters.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT