Results of 1 - 9 of about 9 for synchronization (0.005 sec.)
- カプセル 13211
- カプセル これらのオブジェクトの使い方については 拡張モジュールに C API を提供する を参照してください。 Added in version 3.1. type PyCapsule PyObject のこのサブタイプは不透明な値を表します。 C 拡張モジュールから Python のコードを経由して別の
...Pointer ( PyObject * capsule , const char * name ) 次に属します: Stable ABI . Thread safety: Safe to call without external synchronization on distinct objects . カプセルに保存されている pointer を取り出します。失敗した場合は例外を設定して NULL を返します。 name...tor PyCapsule_GetDestructor ( PyObject * capsule ) 次に属します: Stable ABI . Thread safety: Safe to call without external synchronization on distinct objects . カプセルに保存されている現在のデストラクタを返します。失敗した場合、例外を設定して NULL を返します。...void * PyCapsule_GetContext ( PyObject * capsule ) 次に属します: Stable ABI . Thread safety: Safe to call without external synchronization on distinct objects . カプセルに保存されている現在のコンテキスト(context)を返します。失敗した場合、例外を設定して NULL を返... - https://man.mtool.work/python/3.14/c-api/capsule.html
- Dictionary Objects 10605
- Dictionary Objects type PyDictObject この PyObject のサブタイプは Python の辞書オブジェクトを表現します。 PyTypeObject PyDict_Type 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python の辞書を表現します。このオブジェクトは、
...ject * key ) 戻り値: 借用参照。 次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchronization only . 辞書 p からキー key に対応するオブジェクトへの 借用参照 を返します。 キー key がなければ、例外を設定 せずに NULL を...ject * key ) 戻り値: 借用参照。 次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchronization only . PyDict_GetItem() の変種で例外を隠しません。 例外が発生した場合は、例外をセット した上で NULL を返します。 キーが存在...char * key ) 戻り値: 借用参照。 次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchronization only . PyDict_GetItem() と同様ですが、 key は PyObject * ではなく、UTF-8 でエンコードされた const char * のバイト文字列で指... - https://man.mtool.work/python/3.14/c-api/dict.html
- バイトオブジェクト 9185
- バイトオブジェクト 下記の関数は、バイトオブジェクトを期待している引数にバイトオブジェクトでないパラメタを指定して呼び出されると、 TypeError を送出します。 PyBytesObject の内部バッファには、null 終端の C 文字列との互換性のため、末尾に常に追加
...Bytes_AsString ( PyObject * o ) 次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchronization only . o の内容へのポインタを返します。 このポインタは len(o) + 1 バイトからなる o の内部バッファを参照します。 内部に他の...送出します。 char * PyBytes_AS_STRING ( PyObject * string ) Thread safety: Safe to call from multiple threads with external synchronization only . PyBytes_AsString() に似ていますが、エラーチェックを行いません。 int PyBytes_AsStringAndSize ( PyObject * obj , char...buffer , Py_ssize_t * length ) 次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchronization only . 出力変数 buffer と length を通じて、オブジェクト obj の null 終端された内容を返します。 成功すると 0 を返します。 l... - https://man.mtool.work/python/3.14/c-api/bytes.html
- bytearray オブジェクト 8825
- bytearray オブジェクト type PyByteArrayObject この PyObject のサブタイプは Python の bytearray オブジェクトを表します。 PyByteArrayObject の内部バッファには、ヌル終端の C 文字列との互換性のため、末尾に余分なヌルバイトが常に含まれます。 この
...String ( PyObject * bytearray ) 次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchronization only . NULL ポインタチェックの後に bytearray の内容を char 配列として返します。 返される配列には、常に余分な null バイトが...ます。 char * PyByteArray_AS_STRING ( PyObject * bytearray ) Thread safety: Safe to call from multiple threads with external synchronization only . PyByteArray_AsString() に似ていますが、エラーチェックを行いません。 注釈 返された char 配列の使用中に bytearray オブ... - https://man.mtool.work/python/3.14/c-api/bytearray.html
- リストオブジェクト 8825
- リストオブジェクト type PyListObject この PyObject のサブタイプは Python のリストオブジェクトを表現します。 PyTypeObject PyList_Type 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python のリスト型を表現します。これは Python
...ze_t index ) 戻り値: 借用参照。 次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchronization only . PyList_GetItemRef() と似ていますが、 強参照 ではなく 借用参照 を返します。 注釈 フリースレッドビルド では、別のスレ...ITEM ( PyObject * list , Py_ssize_t i ) 戻り値: 借用参照。 Thread safety: Safe to call from multiple threads with external synchronization only . PyList_GetItem() に似ていますが、エラーチェックを行いません。 注釈 フリースレッドビルド では、別のスレッドが同時にリ...SET_ITEM ( PyObject * list , Py_ssize_t i , PyObject * o ) Thread safety: Safe to call from multiple threads with external synchronization only . PyList_SetItem() をマクロによる実装で、エラーチェックを行いません。このマクロは、新たなリストのまだ要素を入れたこと... - https://man.mtool.work/python/3.14/c-api/list.html
- Function オブジェクト 7747
- Function オブジェクト Functionオブジェクト固有の関数はわずかです。 type PyFunctionObject 関数に使われるCの構造体。 In the free-threaded build, direct access to mutable fields requires synchronization if another thread may modify the functio
... - https://man.mtool.work/python/3.14/c-api/function.html
- スレッドセーフ性の保証 7639
- スレッドセーフ性の保証 このページでは、Python のフリースレッドビルドにおける組み込み型のスレッドセーフ性の保証を説明します。 ここで説明する保証は、 GIL を無効にして Python を使う場合 (フリースレッドモード) に適用されます。 GIL が有効な場合、
...はありません。 Example: PyList_GetItemRef() can be called from multiple threads on the same PyListObject - it uses internal synchronization to serialize access. アトミック ほかのスレッドから見ると アトミック に実行される関数や操作です。 つまり、ほかのスレッドの視... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- 用語集 7387
- 用語集 >>> 対話型 シェルにおけるデフォルトの Python プロンプトです。インタープリターで対話的に実行されるコード例でよく見られます。 ... 次のものが考えられます: 対話型 ( interactive ) シェルにおいて、インデントされたコードブロック、対応する左
...ぶために使います。 マッピング に添字を指定する場合は キー 、 シーケンス に添字を指定する場合は インデックス とも呼ばれます。 synchronization primitive (同期プリミティブ) 複数のスレッドの実行を調整(同期)し、共有リソースへの スレッドセーフな アクセスを保証するため... - https://man.mtool.work/python/3.14/glossary.html
- What's New In Python 3.2 7387
- What's New In Python 3.2 著者 : Raymond Hettinger この記事では Python 3.1 と比較した Python 3.2 の新機能を説明します。 Python 3.2 は 2011 年 2 月 20 日にリリースされました。 主な変更点をいくつか取り上げ、例を示します。 すべての詳細については
...アがタイムアウトし、投票用紙は密封されて後の処理のためのキューに預けられます。 並列計算でのバリアの使用例については Barrier Synchronization Patterns を参照してください。 また、 The Little Book of Semaphores の 3.6 節 に、簡潔で詳しいバリアの説明があります。 (Con... - https://man.mtool.work/python/3.14/whatsnew/3.2.html
PREV
1
NEXT