per page, with , order by , clip by
Results of 1 - 10 of about 255 for State (0.007 sec.)
Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 10483
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... 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 a thr ... ead state . Each thread has a thread-local pointer to a PyThreadState ; a thread state referenced by this pointer is considered to b ... e attached . A thread can only have one attached thread state at a time. An attached thread state is typically analogous with holding the GIL, except on free-threaded builds. On builds ...
https://man.mtool.work/python/3.14/c-api/threads.html
Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 10483
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... 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 a thr ... ead state . Each thread has a thread-local pointer to a PyThreadState ; a thread state referenced by this pointer is considered to b ... e attached . A thread can only have one attached thread state at a time. An attached thread state is typically analogous with holding the GIL, except on free-threaded builds. On builds ...
https://man.mtool.work/python/3.14/c-api/threads.html
拡張モジュールを分離する — Python 3.14.8 ドキュメント 10194
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa ... s kept in C static variables, which have process-wide scope. This document describes problems of such per-process state and shows a safer way: per-module state. The document also describes how to switch to per-module state where possible. Thi ... s transition involves allocating space for that state, potentially switching from static types to heap types, and—perhaps most importantly—accessing per-module state from code. ... 背景 ¶ An interpreter is the context in which Python code runs. It contains configuration (e.g. the import path) and runtime state (e.g. the set of imported modules). Python supports running multiple interpreters in one process. There are two cases to t ...
https://man.mtool.work/python/3.14/howto/isolating-extensions.html
拡張モジュールを分離する — Python 3.14.8 ドキュメント 10154
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa ... s kept in C static variables, which have process-wide scope. This document describes problems of such per-process state and shows a safer way: per-module state. The document also describes how to switch to per-module state where possible. Thi ... s transition involves allocating space for that state, potentially switching from static types to heap types, and—perhaps most importantly—accessing per-module state from code. ... 背景 ¶ An interpreter is the context in which Python code runs. It contains configuration (e.g. the import path) and runtime state (e.g. the set of imported modules). Python supports running multiple interpreters in one process. There are two cases to t ...
https://man.mtool.work/python/3.14/howto/isolating-extensions.html
Monitoring C API — Python 3.14.8 ドキュメント 9337
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Monitoring C API テーマ 自動 ライト ダーク | Monitoring C API ¶ Added in version 3.13. An extension may need to interact with the ... nsion to fire monitoring events as it emulates the execution of Python code. Each of these functions accepts a PyMonitoringState struct which contains concise information about the activation state of events, as well as the event arguments, which incl ... uld not be called with an exception set, except those listed below as working with the current exception. type PyMonitoringState ¶ Representation of the state of an event type. It is allocated by the user while its contents are maintained by the monit ... xception set) on error. See sys.monitoring for descriptions of the events. int PyMonitoring_FirePyStartEvent ( PyMonitoringState * state , PyObject * codelike , int32_t offset ) ¶ Fire a PY_START event. int PyMonitoring_FirePyResumeEvent ( PyMonitorin ...
https://man.mtool.work/python/3.14/c-api/monitoring.html
Monitoring C API — Python 3.14.8 ドキュメント 9307
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Monitoring C API テーマ 自動 ライト ダーク | Monitoring C API ¶ Added in version 3.13. An extension may need to interact with the ... nsion to fire monitoring events as it emulates the execution of Python code. Each of these functions accepts a PyMonitoringState struct which contains concise information about the activation state of events, as well as the event arguments, which incl ... uld not be called with an exception set, except those listed below as working with the current exception. type PyMonitoringState ¶ Representation of the state of an event type. It is allocated by the user while its contents are maintained by the monit ... xception set) on error. See sys.monitoring for descriptions of the events. int PyMonitoring_FirePyStartEvent ( PyMonitoringState * state , PyObject * codelike , int32_t offset ) ¶ Fire a PY_START event. int PyMonitoring_FirePyResumeEvent ( PyMonitorin ...
https://man.mtool.work/python/3.14/c-api/monitoring.html
Remote debugging attachment protocol — Python 3.14.8 ドキュメント 7952
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Remote debugging attachment protocol テーマ 自動 ライト ダーク | Remote debugging attachment protocol ¶ This protocol enables external tools to at ... epends on the interpreter reaching a safe evaluation point. As a result, execution may be delayed depending on the runtime state of the target process. Once injected, the script is executed by the interpreter within the target process the next time a ... he offset of this structure by examining the binary on disk. The PyRuntime structure contains CPython's global interpreter state and provides access to other internal data, including the list of interpreters, thread states, and debugger support fields ... untime 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 read ...
https://man.mtool.work/python/3.14/howto/remote_debugging.html
Remote debugging attachment protocol — Python 3.14.8 ドキュメント 7952
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Remote debugging attachment protocol テーマ 自動 ライト ダーク | Remote debugging attachment protocol ¶ This protocol enables external tools to at ... epends on the interpreter reaching a safe evaluation point. As a result, execution may be delayed depending on the runtime state of the target process. Once injected, the script is executed by the interpreter within the target process the next time a ... he offset of this structure by examining the binary on disk. The PyRuntime structure contains CPython's global interpreter state and provides access to other internal data, including the list of interpreters, thread states, and debugger support fields ... untime 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 read ...
https://man.mtool.work/python/3.14/howto/remote_debugging.html
Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 7872
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は ... ンタイムの初期化中の処理実行という責務もあり、通常はランタイムの終了処理中に動いているランタイムでもあります。 PyInterpreterState_Main() 関数は、メインインタプリタの状態へのポインタを返します。 サブインタプリタを切り替えが PyThreadState_Swap() 関数でで ... 3.12. 構造体フィールド: int use_main_obmalloc ¶ If this is 0 then the sub-interpreter will use its own "object" allocator state. Otherwise it will use (share) the main interpreter's. If this is 0 then check_multi_interp_extensions must be 1 (non-zero ... preterConfig_OWN_GIL then PyInterpreterConfig.use_main_obmalloc must be 0 . PyStatus Py_NewInterpreterFromConfig ( PyThreadState * * tstate_p , const PyInterpreterConfig * config ) ¶ 新しいサブインタプリタ (sub-interpreter) を生成します。サブインタプリ ...
https://man.mtool.work/python/3.14/c-api/subinterpreters.html
Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 7872
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は ... ンタイムの初期化中の処理実行という責務もあり、通常はランタイムの終了処理中に動いているランタイムでもあります。 PyInterpreterState_Main() 関数は、メインインタプリタの状態へのポインタを返します。 サブインタプリタを切り替えが PyThreadState_Swap() 関数でで ... 3.12. 構造体フィールド: int use_main_obmalloc ¶ If this is 0 then the sub-interpreter will use its own "object" allocator state. Otherwise it will use (share) the main interpreter's. If this is 0 then check_multi_interp_extensions must be 1 (non-zero ... preterConfig_OWN_GIL then PyInterpreterConfig.use_main_obmalloc must be 0 . PyStatus Py_NewInterpreterFromConfig ( PyThreadState * * tstate_p , const PyInterpreterConfig * config ) ¶ 新しいサブインタプリタ (sub-interpreter) を生成します。サブインタプリ ...
https://man.mtool.work/python/3.14/c-api/subinterpreters.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT