Results of 1 - 10 of about 36 for locked (0.005 sec.)
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 13313
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...tes instantaneously from the perspective of other threads. This is the strongest form of thread safety. Example: PyMutex_IsLocked() performs an atomic read of the mutex state and can be called from any thread at any time. Thread safety for list objects...Similarly, assigning to a list slice with lst[i:j] = iterable is safe to call from multiple threads, but iterable is only locked when it is also a list (but not its subclasses). Operations that involve multiple accesses, as well as iteration, are neve...at override iteration). For equality comparison, this applies to dict and its subclasses: d . update ( other_dict ) # both locked when other_dict is a dict d |= other_dict # both locked when other_dict is a dict d == other_dict # both locked for dict a... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 13313
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...tes instantaneously from the perspective of other threads. This is the strongest form of thread safety. Example: PyMutex_IsLocked() performs an atomic read of the mutex state and can be called from any thread at any time. Thread safety for list objects...Similarly, assigning to a list slice with lst[i:j] = iterable is safe to call from multiple threads, but iterable is only locked when it is also a list (but not its subclasses). Operations that involve multiple accesses, as well as iteration, are neve...at override iteration). For equality comparison, this applies to dict and its subclasses: d . update ( other_dict ) # both locked when other_dict is a dict d |= other_dict # both locked when other_dict is a dict d == other_dict # both locked for dict a... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- msvcrt --- MS VC++ ランタイムの有用なルーチン群 — Python 3.14.8 ドキュメント 9984
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » MS Windows 固有のサービス » msvcrt --- MS VC++ ランタイムの有用なルーチン群 テーマ 自動 ライト ダーク | msvcrt --- MS VC++ ランタイ
...fd , mode , nbytes ) ¶ Lock part of a file based on file descriptor fd from the C runtime. Raises OSError on failure. The locked region of the file extends from the current file position for nbytes bytes, and may continue beyond the end of the file. m...ode must be one of the LK_* constants listed below. Multiple regions in a file may be locked at the same time, but may not overlap. Adjacent regions are not merged; they must be unlocked individually. 引数 fd , mode...イベント msvcrt.locking を送出します。 msvcrt. LK_LOCK ¶ msvcrt. LK_RLCK ¶ Locks the specified bytes. If the bytes cannot be locked, the program immediately tries again after 1 second. If, after 10 attempts, the bytes cannot be locked, OSError is raised.... - https://man.mtool.work/python/3.14/library/msvcrt.html
- msvcrt --- MS VC++ ランタイムの有用なルーチン群 — Python 3.14.8 ドキュメント 9287
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » MS Windows 固有のサービス » msvcrt --- MS VC++ ランタイムの有用なルーチン群 テーマ 自動 ライト ダーク | msvcrt --- MS VC++ ランタイ
...fd , mode , nbytes ) ¶ Lock part of a file based on file descriptor fd from the C runtime. Raises OSError on failure. The locked region of the file extends from the current file position for nbytes bytes, and may continue beyond the end of the file. m...ode must be one of the LK_* constants listed below. Multiple regions in a file may be locked at the same time, but may not overlap. Adjacent regions are not merged; they must be unlocked individually. 引数 fd , mode...イベント msvcrt.locking を送出します。 msvcrt. LK_LOCK ¶ msvcrt. LK_RLCK ¶ Locks the specified bytes. If the bytes cannot be locked, the program immediately tries again after 1 second. If, after 10 attempts, the bytes cannot be locked, OSError is raised.... - https://man.mtool.work/python/3.14/library/msvcrt.html
- リストオブジェクト — Python 3.14.8 ドキュメント 9144
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » リストオブジェクト テーマ 自動 ライト ダーク | リストオブジェクト ¶ type PyListObject
...ンデックスはサポートされていません。 注釈 In the free-threaded build , when itemlist is a list , both list and itemlist are locked for the duration of the operation. For other iterables (or NULL ), only list is locked. int PyList_Extend ( PyObject * lis...-threaded build , when iterable is a list , set , dict , or dict view, both list and iterable (or its underlying dict) are locked for the duration of the operation. For other iterables, only list is locked; iterable may be concurrently modified by anot... - https://man.mtool.work/python/3.14/c-api/list.html
- リストオブジェクト — Python 3.14.8 ドキュメント 9144
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » リストオブジェクト テーマ 自動 ライト ダーク | リストオブジェクト ¶ type PyListObject
...ンデックスはサポートされていません。 注釈 In the free-threaded build , when itemlist is a list , both list and itemlist are locked for the duration of the operation. For other iterables (or NULL ), only list is locked. int PyList_Extend ( PyObject * lis...-threaded build , when iterable is a list , set , dict , or dict view, both list and iterable (or its underlying dict) are locked for the duration of the operation. For other iterables, only list is locked; iterable may be concurrently modified by anot... - https://man.mtool.work/python/3.14/c-api/list.html
- Dictionary Objects — Python 3.14.8 ドキュメント 8590
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Dictionary Objects テーマ 自動 ライト ダーク | Dictionary Objects ¶ type PyDictObject
...た場合には -1 を返します。 注釈 In the free-threaded build , when b is a dict (with the standard iterator), both a and b are locked for the duration of the operation. When b is a non-dict mapping, only a is locked; b may be concurrently modified by anoth...た場合には -1 を返します。 注釈 In the free-threaded build , when b is a dict (with the standard iterator), both a and b are locked for the duration of the operation. When b is a non-dict mapping, only a is locked; b may be concurrently modified by anoth...e ) : for key , value in seq2 : if override or key not in a : a [ key ] = value 注釈 In the free-threaded build, only a is locked. The iteration over seq2 is not synchronized; seq2 may be concurrently modified by another thread. int PyDict_AddWatcher (... - https://man.mtool.work/python/3.14/c-api/dict.html
- 同期プリミティブ — Python 3.14.8 ドキュメント 8590
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...A mutual exclusion lock. The PyMutex should be initialized to zero to represent the unlocked state. For example: PyMutex mutex = { 0 }; Instances of PyMutex should not be copied or moved. Both the contents and addre...in version 3.13. void PyMutex_Lock ( PyMutex * m ) ¶ Thread safety: Atomic . Lock mutex m . If another thread has already locked it, the calling thread will block until the mutex is unlocked. While blocked, the thread will temporarily detach the threa...s. Added in version 3.13. void PyMutex_Unlock ( PyMutex * m ) ¶ Thread safety: Atomic . Unlock mutex m . The mutex must be locked --- otherwise, the function will issue a fatal error. Added in version 3.13. int PyMutex_IsLocked ( PyMutex * m ) ¶ Thread... - https://man.mtool.work/python/3.14/c-api/synchronization.html
- Dictionary Objects — Python 3.14.8 ドキュメント 8590
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Dictionary Objects テーマ 自動 ライト ダーク | Dictionary Objects ¶ type PyDictObject
...た場合には -1 を返します。 注釈 In the free-threaded build , when b is a dict (with the standard iterator), both a and b are locked for the duration of the operation. When b is a non-dict mapping, only a is locked; b may be concurrently modified by anoth...た場合には -1 を返します。 注釈 In the free-threaded build , when b is a dict (with the standard iterator), both a and b are locked for the duration of the operation. When b is a non-dict mapping, only a is locked; b may be concurrently modified by anoth...e ) : for key , value in seq2 : if override or key not in a : a [ key ] = value 注釈 In the free-threaded build, only a is locked. The iteration over seq2 is not synchronized; seq2 may be concurrently modified by another thread. int PyDict_AddWatcher (... - https://man.mtool.work/python/3.14/c-api/dict.html
- 同期プリミティブ — Python 3.14.8 ドキュメント 8590
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...A mutual exclusion lock. The PyMutex should be initialized to zero to represent the unlocked state. For example: PyMutex mutex = { 0 }; Instances of PyMutex should not be copied or moved. Both the contents and addre...in version 3.13. void PyMutex_Lock ( PyMutex * m ) ¶ Thread safety: Atomic . Lock mutex m . If another thread has already locked it, the calling thread will block until the mutex is unlocked. While blocked, the thread will temporarily detach the threa...s. Added in version 3.13. void PyMutex_Unlock ( PyMutex * m ) ¶ Thread safety: Atomic . Unlock mutex m . The mutex must be locked --- otherwise, the function will issue a fatal error. Added in version 3.13. int PyMutex_IsLocked ( PyMutex * m ) ¶ Thread... - https://man.mtool.work/python/3.14/c-api/synchronization.html