Results of 1 - 10 of about 310 for thread (0.031 sec.)
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 8845
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...on a free-threaded build of CPython , the Python interpreter is generally not thread-safe. In order to support multi-threaded Python progra...ms, there's a global lock, called the global interpreter lock or GIL , that must be held by a thread before accessing Python objects. Without the lock, even the simplest operations could cause problems in a multi-threaded p...rogram: for example, when two threads simultaneously increment the reference count of the same object, the reference count could end up being incremented only... - https://man.mtool.work/python/3.14/c-api/threads.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 8845
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...on a free-threaded build of CPython , the Python interpreter is generally not thread-safe. In order to support multi-threaded Python progra...ms, there's a global lock, called the global interpreter lock or GIL , that must be held by a thread before accessing Python objects. Without the lock, even the simplest operations could cause problems in a multi-threaded p...rogram: for example, when two threads simultaneously increment the reference count of the same object, the reference count could end up being incremented only... - https://man.mtool.work/python/3.14/c-api/threads.html
- threading --- スレッドベースの並列処理 — Python 3.14.8 ドキュメント 7705
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » threading --- スレッドベースの並列処理 テーマ 自動 ライト ダーク | threading --- スレッドベースの並列処理 ¶ ソースコード
...: Lib/threading.py このモジュールでは、高水準のスレッドインターフェースをより低水準 な _thread モジュールの上に構築しています。 Availab...ュールは WebAssembly では動作しないか、利用不可です。詳しくは、 WebAssembly プラットフォーム を見てください。 はじめに ¶ The threading module provides a way to run multiple threads (smaller units of a process) concurrently within a single process. It all...ows for the creation and management of threads, making it possible to execute tasks in parallel, sharing memory space. Threads are particularly useful when tasks are I/... - https://man.mtool.work/python/3.14/library/threading.html
- threading --- スレッドベースの並列処理 — Python 3.14.8 ドキュメント 7705
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » threading --- スレッドベースの並列処理 テーマ 自動 ライト ダーク | threading --- スレッドベースの並列処理 ¶ ソースコード
...: Lib/threading.py このモジュールでは、高水準のスレッドインターフェースをより低水準 な _thread モジュールの上に構築しています。 Availab...ュールは WebAssembly では動作しないか、利用不可です。詳しくは、 WebAssembly プラットフォーム を見てください。 はじめに ¶ The threading module provides a way to run multiple threads (smaller units of a process) concurrently within a single process. It all...ows for the creation and management of threads, making it possible to execute tasks in parallel, sharing memory space. Threads are particularly useful when tasks are I/... - https://man.mtool.work/python/3.14/library/threading.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 7368
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...lt-in types in Python's free-threaded build. The guarantees described here apply when using Python with the GIL disabled (free-threaded mode). When the GIL is...enabled, most operations are implicitly serialized. 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. The levels are listed from least to most safe. Incompatible ¶ A function or operation... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 7368
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...lt-in types in Python's free-threaded build. The guarantees described here apply when using Python with the GIL disabled (free-threaded mode). When the GIL is...enabled, most operations are implicitly serialized. 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. The levels are listed from least to most safe. Incompatible ¶ A function or operation... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- asyncio and free-threaded Python — Python 3.14.8 ドキュメント 7349
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio and free-threaded Python テーマ 自動 ライト ダーク | asyncio an
...d free-threaded Python ¶ asyncio uses an event loop as a scheduler to enable highly efficient concurrency by switching between tasks to...I/O operations. This results in better performance for I/O-bound use cases. It also allows off-loading CPU-bound work to a thread or process pool, but that is still limited by the global interpreter lock in CPython. However, in free-threaded Python , t...he GIL is disabled and Python can run true multi-threaded code. This means that asyncio can now take advantage of multiple CPU cores without the limitations imposed by the GIL. S... - https://man.mtool.work/python/3.14/library/asyncio-threading.html
- asyncio and free-threaded Python — Python 3.14.8 ドキュメント 7293
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio and free-threaded Python テーマ 自動 ライト ダーク | asyncio an
...d free-threaded Python ¶ asyncio uses an event loop as a scheduler to enable highly efficient concurrency by switching between tasks to...I/O operations. This results in better performance for I/O-bound use cases. It also allows off-loading CPU-bound work to a thread or process pool, but that is still limited by the global interpreter lock in CPython. However, in free-threaded Python , t...he GIL is disabled and Python can run true multi-threaded code. This means that asyncio can now take advantage of multiple CPU cores without the limitations imposed by the GIL. S... - https://man.mtool.work/python/3.14/library/asyncio-threading.html
- Remote debugging attachment protocol — Python 3.14.8 ドキュメント 7172
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Remote debugging attachment protocol テーマ 自動 ライト ダーク | Remote debugging attachment protocol ¶ This protocol enables external tools to at
...ontains CPython's global interpreter state and provides access to other internal data, including the list of interpreters, thread states, and debugger support fields. To work with a remote Python process, a debugger must first find the memory address o...the PyRuntime block. This structure provides version-specific field offsets that are needed to safely read interpreter and thread state memory. These offsets vary between CPython versions and must be checked before use to ensure they are compatible. To...using a pre-release version (for example, an alpha, beta, or release candidate), the versions must match exactly. The free_threaded field must have the same value in both the debugger and the target process. If the structure is valid, the offsets it co... - https://man.mtool.work/python/3.14/howto/remote_debugging.html
- 変更履歴 — Python 3.14.8 ドキュメント 7172
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ke forward iterators, instead of yielding entries for the new keys. gh-157838 : Merge biased reference counts on behalf of threads that are detached instead of waiting for them to attach again, in the free-threaded build. gh-157378 : Fix SyntaxError.of...or called it through an incompatible function type. Patched by Shamil Abdulaev. gh-157377 : Fix gc.get_count() on the free-threaded build resetting the thread-local allocation counter that schedules automatic garbage collection. A thread that called it...ericAlias argument gains a __typing_subst__ hook after the alias parameters have been cached. gh-155504 : Fix a crash when thread state creation fails before the thread state is fully initialized. gh-155526 : Fix spurious OverflowError for abs(nanj) in... - https://man.mtool.work/python/3.14/whatsnew/changelog.html