Results of 1 - 10 of about 22 for deadlocks (0.003 sec.)
- 同期プリミティブ — Python 3.14.8 ドキュメント 14275
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...he notable exception of PyDict_Next() , which requires critical section to be acquired externally. Critical sections avoid deadlocks by implicitly suspending active critical sections, hence, they do not provide exclusive access such as provided by traditi...with a C type that does not extend or wrap PyObject but still needs to call into the C API in a manner that might lead to deadlocks. The functions and structs used by the macros are exposed for cases where C macros are not available. They should only be...ECREF , which can call arbitrary code through an object's deallocation function. The critical section API avoids potential deadlocks due to reentrancy and lock ordering by allowing the runtime to temporarily suspend the critical section if the code trigge... - https://man.mtool.work/python/3.14/c-api/synchronization.html
- 同期プリミティブ — Python 3.14.8 ドキュメント 12928
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...he notable exception of PyDict_Next() , which requires critical section to be acquired externally. Critical sections avoid deadlocks by implicitly suspending active critical sections, hence, they do not provide exclusive access such as provided by traditi...with a C type that does not extend or wrap PyObject but still needs to call into the C API in a manner that might lead to deadlocks. The functions and structs used by the macros are exposed for cases where C macros are not available. They should only be...ECREF , which can call arbitrary code through an object's deallocation function. The critical section API avoids potential deadlocks due to reentrancy and lock ordering by allowing the runtime to temporarily suspend the critical section if the code trigge... - https://man.mtool.work/python/3.14/c-api/synchronization.html
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 8383
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...tically release and reacquire locks around potential blocking operations Deadlock Avoidance ¶ Critical sections help avoid deadlocks in two ways: If a thread tries to acquire a lock that's already held by another thread, it first suspends all of its activ...primarily for protecting access to Python objects that might be involved in internal CPython operations susceptible to the deadlock scenarios described above. For protecting purely internal extension state, standard mutexes or other synchronization primit... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- サブプロセス — Python 3.14.8 ドキュメント 8383
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » サブプロセス テーマ 自動 ライト ダーク | サブプロセス ¶ ソースコード: L
...cate() method rather than process.stdin.write() , await process.stdout.read() or await process.stderr.read() . This avoids deadlocks due to streams pausing reading or writing and blocking the child process. pid ¶ 子プロセスのプロセス番号 (PID) です。 Note... - https://man.mtool.work/python/3.14/library/asyncio-subprocess.html
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 8383
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...tically release and reacquire locks around potential blocking operations Deadlock Avoidance ¶ Critical sections help avoid deadlocks in two ways: If a thread tries to acquire a lock that's already held by another thread, it first suspends all of its activ...primarily for protecting access to Python objects that might be involved in internal CPython operations susceptible to the deadlock scenarios described above. For protecting purely internal extension state, standard mutexes or other synchronization primit... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- サブプロセス — Python 3.14.8 ドキュメント 8383
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » サブプロセス テーマ 自動 ライト ダーク | サブプロセス ¶ ソースコード: L
...cate() method rather than process.stdin.write() , await process.stdout.read() or await process.stderr.read() . This avoids deadlocks due to streams pausing reading or writing and blocking the child process. pid ¶ 子プロセスのプロセス番号 (PID) です。 Note... - https://man.mtool.work/python/3.14/library/asyncio-subprocess.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 8114
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...Python ソース配布物内の使用例を見てください。 注釈 These macros are still necessary on the free-threaded build to prevent deadlocks. Py_BEGIN_ALLOW_THREADS ¶ 次に属します: Stable ABI . このマクロを展開すると { PyThreadState *_save; _save = PyEval_SaveThr... - https://man.mtool.work/python/3.14/c-api/threads.html
- Debugging C API extensions and CPython Internals with GDB — Python 3.14.8 ドキ... 8114
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Debugging C API extensions and CPython Internals with GDB テーマ 自動 ライト ダーク | Debugging C API extensions and CPython Internals with GDB ¶
...ugger to debug CPython extensions and the CPython interpreter itself. When debugging low-level problems such as crashes or deadlocks, a low-level debugger, such as GDB, is useful to diagnose and correct the issue. By default, GDB (or any of its front-ends... - https://man.mtool.work/python/3.14/howto/gdb_helpers.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 8114
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...Python ソース配布物内の使用例を見てください。 注釈 These macros are still necessary on the free-threaded build to prevent deadlocks. Py_BEGIN_ALLOW_THREADS ¶ 次に属します: Stable ABI . このマクロを展開すると { PyThreadState *_save; _save = PyEval_SaveThr... - https://man.mtool.work/python/3.14/c-api/threads.html
- Debugging C API extensions and CPython Internals with GDB — Python 3.14.8 ドキ... 8114
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Debugging C API extensions and CPython Internals with GDB テーマ 自動 ライト ダーク | Debugging C API extensions and CPython Internals with GDB ¶
...ugger to debug CPython extensions and the CPython interpreter itself. When debugging low-level problems such as crashes or deadlocks, a low-level debugger, such as GDB, is useful to diagnose and correct the issue. By default, GDB (or any of its front-ends... - https://man.mtool.work/python/3.14/howto/gdb_helpers.html