Results of 1 - 10 of about 86 for attached (0.004 sec.)
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 14042
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...Each thread has a thread-local pointer to a PyThreadState ; a thread state referenced by this pointer is considered to be attached . A thread can only have one attached thread state at a time. An attached thread state is typically analogous with holding...e will block until the GIL can be acquired. However, even on builds with the GIL disabled, it is still required to have an attached thread state, as the interpreter needs to keep track of which threads may access Python objects. 注釈 Even on the free-thr...nabled or threads might be temporarily suspended (such as during a garbage collection). Generally, there will always be an attached thread state when using Python's C API, including during embedding and when implementing methods, so it's uncommon to need... - https://man.mtool.work/python/3.14/c-api/threads.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 14042
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...Each thread has a thread-local pointer to a PyThreadState ; a thread state referenced by this pointer is considered to be attached . A thread can only have one attached thread state at a time. An attached thread state is typically analogous with holding...e will block until the GIL can be acquired. However, even on builds with the GIL disabled, it is still required to have an attached thread state, as the interpreter needs to keep track of which threads may access Python objects. 注釈 Even on the free-thr...nabled or threads might be temporarily suspended (such as during a garbage collection). Generally, there will always be an attached thread state when using Python's C API, including during embedding and when implementing methods, so it's uncommon to need... - https://man.mtool.work/python/3.14/c-api/threads.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 9702
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は
...zed. Upon success, tstate_p will be set to the first thread state created in the new sub-interpreter. This thread state is attached . Note that no actual thread is created; see the discussion of thread states below. If creation of the new interpreter is...unsuccessful, tstate_p is set to NULL ; no exception is set since the exception state is stored in the attached thread state , which might not exist. Like all other Python/C API functions, an attached thread state must be present befo...re calling this function, but it might be detached upon returning. On success, the returned thread state will be attached . If the sub-interpreter is created with its own GIL then the attached thread state of the calling interpreter will be det... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 9702
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は
...zed. Upon success, tstate_p will be set to the first thread state created in the new sub-interpreter. This thread state is attached . Note that no actual thread is created; see the discussion of thread states below. If creation of the new interpreter is...unsuccessful, tstate_p is set to NULL ; no exception is set since the exception state is stored in the attached thread state , which might not exist. Like all other Python/C API functions, an attached thread state must be present befo...re calling this function, but it might be detached upon returning. On success, the returned thread state will be attached . If the sub-interpreter is created with its own GIL then the attached thread state of the calling interpreter will be det... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html
- PyTime C API — Python 3.14.8 ドキュメント 8732
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » PyTime C API テーマ 自動 ライト ダーク | PyTime C API ¶ Added in version 3.13. クロック C API は、システムクロッ
...aused by misconfigured system time.) As any other C API (unless otherwise specified), the functions must be called with an attached thread state . int PyTime_Monotonic ( PyTime_t * result ) ¶ Read the monotonic clock. See time.monotonic() for important d...Clock Functions ¶ Similar to clock functions, but don't set an exception on error and don't require the caller to have an attached thread state . On success, the functions return 0 . On failure, they set *result to 0 and return -1 , without setting an e...otonicRaw ( PyTime_t * result ) ¶ Similar to PyTime_Monotonic() , but don't set an exception on error and don't require an attached thread state . int PyTime_PerfCounterRaw ( PyTime_t * result ) ¶ Similar to PyTime_PerfCounter() , but don't set an except... - https://man.mtool.work/python/3.14/c-api/time.html
- PyTime C API — Python 3.14.8 ドキュメント 8732
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » PyTime C API テーマ 自動 ライト ダーク | PyTime C API ¶ Added in version 3.13. クロック C API は、システムクロッ
...aused by misconfigured system time.) As any other C API (unless otherwise specified), the functions must be called with an attached thread state . int PyTime_Monotonic ( PyTime_t * result ) ¶ Read the monotonic clock. See time.monotonic() for important d...Clock Functions ¶ Similar to clock functions, but don't set an exception on error and don't require the caller to have an attached thread state . On success, the functions return 0 . On failure, they set *result to 0 and return -1 , without setting an e...otonicRaw ( PyTime_t * result ) ¶ Similar to PyTime_Monotonic() , but don't set an exception on error and don't require an attached thread state . int PyTime_PerfCounterRaw ( PyTime_t * result ) ¶ Similar to PyTime_PerfCounter() , but don't set an except... - https://man.mtool.work/python/3.14/c-api/time.html
- Profiling and tracing — Python 3.14.8 ドキュメント 8247
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Profiling and tracing テーマ 自動 ライト ダーク | Profiling and tracing ¶ Python インタプリタは、プロファイル: 分析 (profile) や実
...cept PyTrace_LINE PyTrace_OPCODE and PyTrace_EXCEPTION . sys.setprofile() 関数も参照してください。 The caller must have an attached thread state . void PyEval_SetProfileAllThreads ( Py_tracefunc func , PyObject * obj ) ¶ Like PyEval_SetProfile() but sets...threads belonging to the current interpreter instead of the setting it only on the current thread. The caller must have an attached thread state . As PyEval_SetProfile() , this function ignores any exceptions raised while setting the profile functions in...ION or PyTrace_C_RETURN as a value for the what parameter. sys.settrace() 関数も参照してください。 The caller must have an attached thread state . void PyEval_SetTraceAllThreads ( Py_tracefunc func , PyObject * obj ) ¶ Like PyEval_SetTrace() but sets the... - https://man.mtool.work/python/3.14/c-api/profiling.html
- Profiling and tracing — Python 3.14.8 ドキュメント 7883
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Profiling and tracing テーマ 自動 ライト ダーク | Profiling and tracing ¶ Python インタプリタは、プロファイル: 分析 (profile) や実
...cept PyTrace_LINE PyTrace_OPCODE and PyTrace_EXCEPTION . sys.setprofile() 関数も参照してください。 The caller must have an attached thread state . void PyEval_SetProfileAllThreads ( Py_tracefunc func , PyObject * obj ) ¶ Like PyEval_SetProfile() but sets...threads belonging to the current interpreter instead of the setting it only on the current thread. The caller must have an attached thread state . As PyEval_SetProfile() , this function ignores any exceptions raised while setting the profile functions in...ION or PyTrace_C_RETURN as a value for the what parameter. sys.settrace() 関数も参照してください。 The caller must have an attached thread state . void PyEval_SetTraceAllThreads ( Py_tracefunc func , PyObject * obj ) ¶ Like PyEval_SetTrace() but sets the... - https://man.mtool.work/python/3.14/c-api/profiling.html
- 同期プリミティブ — Python 3.14.8 ドキュメント 7640
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...function returns a lock; on failure, this function returns 0 without an exception set. The caller does not need to hold an attached thread state . void PyThread_free_lock ( PyThread_type_lock lock ) ¶ 次に属します: Stable ABI . Destroy lock . The lock sh...ould not be held by any thread when calling this. The caller does not need to hold an attached thread state . PyLockStatus PyThread_acquire_lock_timed ( PyThread_type_lock lock , long long microseconds , int intr_flag...n code. If the lock is successfully acquired, this function returns PY_LOCK_ACQUIRED . The caller does not need to hold an attached thread state . int PyThread_acquire_lock ( PyThread_type_lock lock , int waitflag ) ¶ 次に属します: Stable ABI . Acquire l... - https://man.mtool.work/python/3.14/c-api/synchronization.html
- 同期プリミティブ — Python 3.14.8 ドキュメント 7640
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...function returns a lock; on failure, this function returns 0 without an exception set. The caller does not need to hold an attached thread state . void PyThread_free_lock ( PyThread_type_lock lock ) ¶ 次に属します: Stable ABI . Destroy lock . The lock sh...ould not be held by any thread when calling this. The caller does not need to hold an attached thread state . PyLockStatus PyThread_acquire_lock_timed ( PyThread_type_lock lock , long long microseconds , int intr_flag...n code. If the lock is successfully acquired, this function returns PY_LOCK_ACQUIRED . The caller does not need to hold an attached thread state . int PyThread_acquire_lock ( PyThread_type_lock lock , int waitflag ) ¶ 次に属します: Stable ABI . Acquire l... - https://man.mtool.work/python/3.14/c-api/synchronization.html