per page, with , order by , clip by
Results of 1 - 10 of about 38 for PyThreadState (0.007 sec.)
Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 13978
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... by detaching the thread state . The Python interpreter keeps some thread-local information inside a data structure called PyThreadState , known as a thread state . Each thread has a thread-local pointer to a PyThreadState ; a thread state referenced by this ... _BEGIN_ALLOW_THREADS block or in a fresh thread, will the thread not have an attached thread state. If uncertain, check if PyThreadState_GetUnchecked() returns NULL . If it turns out that you do need to create a thread state, call PyThreadState_New() followed ... by PyThreadState_Swap() , or use the dangerous PyGILState_Ensure() function. Detaching the thread state from extension code ¶ Most extensio ...
https://man.mtool.work/python/3.14/c-api/threads.html
Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 13978
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... by detaching the thread state . The Python interpreter keeps some thread-local information inside a data structure called PyThreadState , known as a thread state . Each thread has a thread-local pointer to a PyThreadState ; a thread state referenced by this ... _BEGIN_ALLOW_THREADS block or in a fresh thread, will the thread not have an attached thread state. If uncertain, check if PyThreadState_GetUnchecked() returns NULL . If it turns out that you do need to create a thread state, call PyThreadState_New() followed ... by PyThreadState_Swap() , or use the dangerous PyGILState_Ensure() function. Detaching the thread state from extension code ¶ Most extensio ...
https://man.mtool.work/python/3.14/c-api/threads.html
Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 9041
ナビゲーション 索引 モジュール | 次へ | 前へ | 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() 関数でできます。 次の関数を使ってサブインタプリタの作成と削除が行えます: type PyInterpreterConfig ¶ Structure conta ... PyInterpreterConfig_OWN_GIL then PyInterpreterConfig.use_main_obmalloc must be 0 . PyStatus Py_NewInterpreterFromConfig ( PyThreadState * * tstate_p , const PyInterpreterConfig * config ) ¶ 新しいサブインタプリタ (sub-interpreter) を生成します。サブインタプリ ... _threads = 1 , . allow_daemon_threads = 0 , . check_multi_interp_extensions = 1 , . gil = PyInterpreterConfig_OWN_GIL , }; PyThreadState * tstate = NULL ; PyStatus status = Py_NewInterpreterFromConfig ( & tstate , & config ); if ( PyStatus_Exception ( status ...
https://man.mtool.work/python/3.14/c-api/subinterpreters.html
Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 8852
ナビゲーション 索引 モジュール | 次へ | 前へ | 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() 関数でできます。 次の関数を使ってサブインタプリタの作成と削除が行えます: type PyInterpreterConfig ¶ Structure conta ... PyInterpreterConfig_OWN_GIL then PyInterpreterConfig.use_main_obmalloc must be 0 . PyStatus Py_NewInterpreterFromConfig ( PyThreadState * * tstate_p , const PyInterpreterConfig * config ) ¶ 新しいサブインタプリタ (sub-interpreter) を生成します。サブインタプリ ... _threads = 1 , . allow_daemon_threads = 0 , . check_multi_interp_extensions = 1 , . gil = PyInterpreterConfig_OWN_GIL , }; PyThreadState * tstate = NULL ; PyStatus status = Py_NewInterpreterFromConfig ( & tstate , & config ); if ( PyStatus_Exception ( status ...
https://man.mtool.work/python/3.14/c-api/subinterpreters.html
C API Stability — Python 3.14.8 ドキュメント 8506
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw ... ons() PySys_ResetWarnOptions() PySys_SetArgv() PySys_SetArgvEx() PySys_SetObject() PySys_WriteStderr() PySys_WriteStdout() PyThreadState PyThreadState_Clear() PyThreadState_Delete() PyThreadState_Get() PyThreadState_GetDict() PyThreadState_GetFrame() PyThread ... State_GetID() PyThreadState_GetInterpreter() PyThreadState_New() PyThreadState_SetAsyncExc() PyThreadState_Swap() PyThread_GetInfo() PyThread_ReInitTL ...
https://man.mtool.work/python/3.14/c-api/stable.html
C API Stability — Python 3.14.8 ドキュメント 8506
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw ... ons() PySys_ResetWarnOptions() PySys_SetArgv() PySys_SetArgvEx() PySys_SetObject() PySys_WriteStderr() PySys_WriteStdout() PyThreadState PyThreadState_Clear() PyThreadState_Delete() PyThreadState_Get() PyThreadState_GetDict() PyThreadState_GetFrame() PyThread ... State_GetID() PyThreadState_GetInterpreter() PyThreadState_New() PyThreadState_SetAsyncExc() PyThreadState_Swap() PyThread_GetInfo() PyThread_ReInitTL ...
https://man.mtool.work/python/3.14/c-api/stable.html
Remote debugging attachment protocol — Python 3.14.8 ドキュメント 8207
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Remote debugging attachment protocol テーマ 自動 ライト ダーク | Remote debugging attachment protocol ¶ This protocol enables external tools to at ... fields used to perform remote code injection are located in the _PyRemoteDebuggerSupport structure, which is embedded in a PyThreadState object. These fields are modified by the debugger to request execution of injected scripts. The PyThreadState structure re ... It maintains the thread's evaluation context and contains the fields required for debugger coordination. Locating a valid PyThreadState is therefore a key prerequisite for triggering execution remotely. A thread is typically selected based on its role or ID. ... t. Although most Python applications use a single interpreter, CPython supports multiple interpreters in the same process. PyThreadState represents a thread running within an interpreter. It contains execution state and the control fields used by the debugger ...
https://man.mtool.work/python/3.14/howto/remote_debugging.html
What's New In Python 3.11 — Python 3.14.8 ドキュメント 8207
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.11 テーマ 自動 ライト ダーク | What's New In Python 3.11 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.10 ... 5 .) Add a new PyType_GetQualName() function to get type's qualified name. (Contributed by Hai Shi in bpo-42035 .) Add new PyThreadState_EnterTracing() and PyThreadState_LeaveTracing() functions to the limited C API to suspend and resume tracing and profiling ... f_back ; } #endif Or use the pythoncapi_compat project to get these two functions on older Python versions. Changes of the PyThreadState structure members: frame : removed, use PyThreadState_GetFrame() (function added to Python 3.9 by bpo-40429 ). Warning: th ... e function returns a strong reference , need to call Py_XDECREF() . tracing : changed, use PyThreadState_EnterTracing() and PyThreadState_LeaveTracing() (functions added to Python 3.11 by bpo-43760 ). recursion_depth : removed, ...
https://man.mtool.work/python/3.14/whatsnew/3.11.html
Remote debugging attachment protocol — Python 3.14.8 ドキュメント 8207
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Remote debugging attachment protocol テーマ 自動 ライト ダーク | Remote debugging attachment protocol ¶ This protocol enables external tools to at ... fields used to perform remote code injection are located in the _PyRemoteDebuggerSupport structure, which is embedded in a PyThreadState object. These fields are modified by the debugger to request execution of injected scripts. The PyThreadState structure re ... It maintains the thread's evaluation context and contains the fields required for debugger coordination. Locating a valid PyThreadState is therefore a key prerequisite for triggering execution remotely. A thread is typically selected based on its role or ID. ... t. Although most Python applications use a single interpreter, CPython supports multiple interpreters in the same process. PyThreadState represents a thread running within an interpreter. It contains execution state and the control fields used by the debugger ...
https://man.mtool.work/python/3.14/howto/remote_debugging.html
What's New In Python 3.11 — Python 3.14.8 ドキュメント 8207
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.11 テーマ 自動 ライト ダーク | What's New In Python 3.11 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.10 ... 5 .) Add a new PyType_GetQualName() function to get type's qualified name. (Contributed by Hai Shi in bpo-42035 .) Add new PyThreadState_EnterTracing() and PyThreadState_LeaveTracing() functions to the limited C API to suspend and resume tracing and profiling ... f_back ; } #endif Or use the pythoncapi_compat project to get these two functions on older Python versions. Changes of the PyThreadState structure members: frame : removed, use PyThreadState_GetFrame() (function added to Python 3.9 by bpo-40429 ). Warning: th ... e function returns a strong reference , need to call Py_XDECREF() . tracing : changed, use PyThreadState_EnterTracing() and PyThreadState_LeaveTracing() (functions added to Python 3.11 by bpo-43760 ). recursion_depth : removed, ...
https://man.mtool.work/python/3.14/whatsnew/3.11.html
PREV 1 2 3 4 NEXT