per page, with , order by , clip by
Results of 1 - 10 of about 16 for PyGILState (0.006 sec.)
Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 13204
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... hat 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 extension code manipulating the thread state has ... erp will be a dangling pointer! Legacy API ¶ Another common pattern to call Python code from a non-Python thread is to use PyGILState_Ensure() followed by a call to PyGILState_Release() . These functions do not work well when multiple interpreters exist in ... s. If no Python interpreter has ever been used in the current thread (which is common for threads created outside Python), PyGILState_Ensure will create and attach a thread state for the "main" interpreter (the first interpreter in the Python process). Add ...
https://man.mtool.work/python/3.14/c-api/threads.html
Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 13204
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... hat 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 extension code manipulating the thread state has ... erp will be a dangling pointer! Legacy API ¶ Another common pattern to call Python code from a non-Python thread is to use PyGILState_Ensure() followed by a call to PyGILState_Release() . These functions do not work well when multiple interpreters exist in ... s. If no Python interpreter has ever been used in the current thread (which is common for threads created outside Python), PyGILState_Ensure will create and attach a thread state for the "main" interpreter (the first interpreter in the Python process). Add ...
https://man.mtool.work/python/3.14/c-api/threads.html
C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 8265
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » C API Extension Support for Free Threading テーマ 自動 ライト ダーク | C API Extension Support for Free Threading ¶ Starting with the 3.13 release ... ) . Thread State and GIL APIs ¶ Python provides a set of functions and macros to manage thread state and the GIL, such as: PyGILState_Ensure() and PyGILState_Release() PyEval_SaveThread() and PyEval_RestoreThread() Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_T ... to manage thread state even when the GIL is disabled. For example, if you create a thread outside of Python, you must call PyGILState_Ensure() before calling into the Python API to ensure that the thread has a valid Python thread state. You should continue ...
https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 8265
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » C API Extension Support for Free Threading テーマ 自動 ライト ダーク | C API Extension Support for Free Threading ¶ Starting with the 3.13 release ... ) . Thread State and GIL APIs ¶ Python provides a set of functions and macros to manage thread state and the GIL, such as: PyGILState_Ensure() and PyGILState_Release() PyEval_SaveThread() and PyEval_RestoreThread() Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_T ... to manage thread state even when the GIL is disabled. For example, if you create a thread outside of Python, you must call PyGILState_Ensure() before calling into the Python API to ensure that the thread has a valid Python thread state. You should continue ...
https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
C API Stability — Python 3.14.8 ドキュメント 8213
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... () PyFrame_GetLineNumber() PyFrozenSet_New() PyFrozenSet_Type PyGC_Collect() PyGC_Disable() PyGC_Enable() PyGC_IsEnabled() PyGILState_Ensure() PyGILState_GetThisThreadState() PyGILState_Release() PyGILState_STATE PyGetSetDef PyGetSetDescr_Type PyImport_Add ...
https://man.mtool.work/python/3.14/c-api/stable.html
索引 — Python 3.14.8 ドキュメント 8213
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ ... oc (C member) PyGetSetDef.get (C member) PyGetSetDef.name (C member) PyGetSetDef.set (C member) PyGetSetDescr_Type (C var) PyGILState_Check (C function) PyGILState_Ensure (C function) PyGILState_GetThisThreadState (C function) PyGILState_Release (C functio ... n) PyGILState_STATE (C type) PyGILState_STATE.PyGILState_LOCKED (C enumerator) PyGILState_STATE.PyGILState_UNLOCKED (C enumerator) PyHAS ...
https://man.mtool.work/python/3.14/genindex-P.html
C API Stability — Python 3.14.8 ドキュメント 8213
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ... () PyFrame_GetLineNumber() PyFrozenSet_New() PyFrozenSet_Type PyGC_Collect() PyGC_Disable() PyGC_Enable() PyGC_IsEnabled() PyGILState_Ensure() PyGILState_GetThisThreadState() PyGILState_Release() PyGILState_STATE PyGetSetDef PyGetSetDescr_Type PyImport_Add ...
https://man.mtool.work/python/3.14/c-api/stable.html
索引 — Python 3.14.8 ドキュメント 8213
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ ... oc (C member) PyGetSetDef.get (C member) PyGetSetDef.name (C member) PyGetSetDef.set (C member) PyGetSetDescr_Type (C var) PyGILState_Check (C function) PyGILState_Ensure (C function) PyGILState_GetThisThreadState (C function) PyGILState_Release (C functio ... n) PyGILState_STATE (C type) PyGILState_STATE.PyGILState_LOCKED (C enumerator) PyGILState_STATE.PyGILState_UNLOCKED (C enumerator) PyHAS ...
https://man.mtool.work/python/3.14/genindex-P.html
Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 8161
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は ... of loaded modules. It is equally important to avoid sharing objects from which the above are reachable. サブインタプリタを PyGILState_* API と組み合わせるのが難しいことにも注意してください。これらのAPIはPythonのスレッド状態とOSレベルスレッドが1対1で対応して ... いることを前提にしていて、サブインタプリタが存在するとその前提が崩れるからです。対応する PyGILState_Ensure() と PyGILState_Release() の呼び出しのペアの間では、サブインタプリタの切り替えを行わないことを強く推奨します。さらに ...
https://man.mtool.work/python/3.14/c-api/subinterpreters.html
Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 8161
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は ... of loaded modules. It is equally important to avoid sharing objects from which the above are reachable. サブインタプリタを PyGILState_* API と組み合わせるのが難しいことにも注意してください。これらのAPIはPythonのスレッド状態とOSレベルスレッドが1対1で対応して ... いることを前提にしていて、サブインタプリタが存在するとその前提が崩れるからです。対応する PyGILState_Ensure() と PyGILState_Release() の呼び出しのペアの間では、サブインタプリタの切り替えを行わないことを強く推奨します。さらに ...
https://man.mtool.work/python/3.14/c-api/subinterpreters.html
PREV 1 2 NEXT