Results of 1 - 10 of about 174 for shared (0.033 sec.)
- multiprocessing.shared_memory --- プロセス間で直接アクセス可能な共有メモリ — Py... 15259
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » multiprocessing.shared_memory --- プロセス間で直接アクセス可能な共有メモリ テーマ 自動 ライト ダーク | multiprocessing.shared
...hared_memory --- プロセス間で直接アクセス可能な共有メモリ ¶ ソースコード Lib/multiprocessing/shared_memory.py Added in version 3.8. このモジュールは、マルチコアもしくは対称型マルチプロセッサ(SMP) を持つマシン上で実行される...、ひとつ以上のプロセスから参照される共有メモリの確保、管理を行うための SharedMemory クラスを提供します。共有メモリのライフサイクル管理、とりわけ複数のプロセスにわたる場合のために、 multiprocessing.man...agers モジュールでは BaseManager のサブクラス SharedMemoryManager も提供されます。 In this module, shared memory refers to "POSIX style" shared memory blocks (though is not ne... - https://man.mtool.work/python/3.14/library/multiprocessing.shared_memory.html
- multiprocessing.shared_memory --- プロセス間で直接アクセス可能な共有メモリ — Py... 15259
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » multiprocessing.shared_memory --- プロセス間で直接アクセス可能な共有メモリ テーマ 自動 ライト ダーク | multiprocessing.shared
...hared_memory --- プロセス間で直接アクセス可能な共有メモリ ¶ ソースコード Lib/multiprocessing/shared_memory.py Added in version 3.8. このモジュールは、マルチコアもしくは対称型マルチプロセッサ(SMP) を持つマシン上で実行される...、ひとつ以上のプロセスから参照される共有メモリの確保、管理を行うための SharedMemory クラスを提供します。共有メモリのライフサイクル管理、とりわけ複数のプロセスにわたる場合のために、 multiprocessing.man...agers モジュールでは BaseManager のサブクラス SharedMemoryManager も提供されます。 In this module, shared memory refers to "POSIX style" shared memory blocks (though is not ne... - https://man.mtool.work/python/3.14/library/multiprocessing.shared_memory.html
- ctypes --- Python 用の外部関数ライブラリ — Python 3.14.8 ドキュメント 6980
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » ctypes --- Python 用の外部関数ライブラリ テーマ 自動 ライト ダーク | ctypes --- Python 用の外
...pes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these libraries in pure Python. This is an optional module . If it is missing from your...above, it's only safe for one object to read and write to the address at once if the GIL is disabled. So, pointer_a can be shared and written to across multiple threads, but only if pointer_b is not also attempting to do the same. If this is an issue,...ding.local で格納された値は異なるコールバックをまたいで生存は しません 。 dllからエクスポートされた値へアクセスする ¶ Some shared libraries not only export functions, they also export variables. An example in the Python library itself is the Py_Version... - https://man.mtool.work/python/3.14/library/ctypes.html
- ctypes --- Python 用の外部関数ライブラリ — Python 3.14.8 ドキュメント 6980
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » ctypes --- Python 用の外部関数ライブラリ テーマ 自動 ライト ダーク | ctypes --- Python 用の外
...pes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these libraries in pure Python. This is an optional module . If it is missing from your...above, it's only safe for one object to read and write to the address at once if the GIL is disabled. So, pointer_a can be shared and written to across multiple threads, but only if pointer_b is not also attempting to do the same. If this is an issue,...ding.local で格納された値は異なるコールバックをまたいで生存は しません 。 dllからエクスポートされた値へアクセスする ¶ Some shared libraries not only export functions, they also export variables. An example in the Python library itself is the Py_Version... - https://man.mtool.work/python/3.14/library/ctypes.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 6800
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は
...rpreter. It may be one of the following: PyInterpreterConfig_DEFAULT_GIL ¶ Use the default selection ( PyInterpreterConfig_SHARED_GIL ). PyInterpreterConfig_SHARED_GIL ¶ Use (share) the main interpreter's GIL. PyInterpreterConfig_OWN_GIL ¶ Use the sub-...terState values. A read-only copy of the config may be stored internally on the PyInterpreterState . Extension modules are shared between (sub-)interpreters as follows: For modules using multi-phase initialization, e.g. PyModule_FromDefAndSpec() , a se...parate module object is created and initialized for each interpreter. Only C-level static and global variables are shared between these module objects. For modules using legacy single-phase initialization , e.g. PyModule_Create() , the first ti... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html
- 変更履歴 — Python 3.14.8 ドキュメント 6800
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...: _ios_support no longer fails to import when ctypes.util.find_library() cannot resolve the ObjC runtime through the dyld shared cache, as is the case on iOS 13. The runtime is now loaded by name, which dyld resolves against the cache directly. gh-156...que across processes, matching the other platforms. gh-154258 : Fix a crash in mmap.mmap.resize() on NetBSD when growing a shared anonymous mapping. resize() now raises ValueError in this case, as it already did on Linux. gh-131565 : ctypes.util.dllist...() now works on NetBSD. It is implemented in the _ctypes extension module so that dl_iterate_phdr() reports all loaded shared libraries: on NetBSD it only reports the link-map group of the calling object, which excluded them when called through cty... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 6800
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は
...rpreter. It may be one of the following: PyInterpreterConfig_DEFAULT_GIL ¶ Use the default selection ( PyInterpreterConfig_SHARED_GIL ). PyInterpreterConfig_SHARED_GIL ¶ Use (share) the main interpreter's GIL. PyInterpreterConfig_OWN_GIL ¶ Use the sub-...terState values. A read-only copy of the config may be stored internally on the PyInterpreterState . Extension modules are shared between (sub-)interpreters as follows: For modules using multi-phase initialization, e.g. PyModule_FromDefAndSpec() , a se...parate module object is created and initialized for each interpreter. Only C-level static and global variables are shared between these module objects. For modules using legacy single-phase initialization , e.g. PyModule_Create() , the first ti... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html
- DTrace と SystemTap で CPython を測定する — Python 3.14.8 ドキュメント 6565
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » DTrace と SystemTap で CPython を測定する テーマ 自動 ライト ダーク | DTrace と SystemTap で CPython を測定する ¶ author : David Malcolm author :
.... $ readelf -S ./python | grep .note.stapsdt [30] .note.stapsdt NOTE 0000000000000000 00308d78 If you've built Python as a shared library (with the --enable-shared configure option), you need to look instead within the shared library. For example: $ re...ファイルの名前 プロセスの PID そして、残りの部分はスクリプトが実行していた呼び出し/返却階層を表示しています。 For a --enable-shared build of CPython, the markers are contained within the libpython shared library, and the probe's dotted path needs to refl...ent of a library, which hides some of the lower-level details of the static markers. Here is a tapset file, based on a non-shared build of CPython: /* Provide a higher-level wrapping around the function__entry and function__return markers: \*/ probe py... - https://man.mtool.work/python/3.14/howto/instrumentation.html
- concurrent.interpreters --- Multiple interpreters in the same process — Python ... 6509
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.interpreters --- Multiple interpreters in the same process テーマ 自動 ライト ダーク | concurrent.interpreter
...ers module provides a queue.Queue implementation, available through create_queue() . "Sharing" Objects ¶ Any data actually shared between interpreters loses the thread-safety provided by the GIL . There are various options for dealing with this in exte...nsion modules. However, from Python code the lack of thread-safety means objects can't actually be shared, with a few exceptions. Instead, a copy must be created, which means mutable objects won't stay in sync. By default, most...d with pickle when they are passed to another interpreter. Nearly all of the immutable builtin objects are either directly shared or copied efficiently. For example: None bool ( True and False ) bytes str int float tuple (of similarly supported objects... - https://man.mtool.work/python/3.14/library/concurrent.interpreters.html
- concurrent.interpreters --- Multiple interpreters in the same process — Python ... 6509
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.interpreters --- Multiple interpreters in the same process テーマ 自動 ライト ダーク | concurrent.interpreter
...ers module provides a queue.Queue implementation, available through create_queue() . "Sharing" Objects ¶ Any data actually shared between interpreters loses the thread-safety provided by the GIL . There are various options for dealing with this in exte...nsion modules. However, from Python code the lack of thread-safety means objects can't actually be shared, with a few exceptions. Instead, a copy must be created, which means mutable objects won't stay in sync. By default, most...d with pickle when they are passed to another interpreter. Nearly all of the immutable builtin objects are either directly shared or copied efficiently. For example: None bool ( True and False ) bytes str int float tuple (of similarly supported objects... - https://man.mtool.work/python/3.14/library/concurrent.interpreters.html