Results of 1 - 10 of about 13 for queues (0.007 sec.)
- queue --- 同期キュークラス — Python 3.14.8 ドキュメント 13214
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » queue --- 同期キュークラス テーマ 自動 ライト ダーク | queue --- 同期キュークラス ¶ ソースコード: Lib/queue.py The queue
...module implements multi-producer, multi-consumer queues. It is especially useful in threaded programming when information must be exchanged safely between multiple threads. The Q...ty : int item : Any = field ( compare = False ) class queue. SimpleQueue ¶ Constructor for an unbounded FIFO queue. Simple queues lack advanced functionality such as task tracking. Simple queues are generic over the type of their items. Added in versio...in range ( 30 ): q . put ( item ) # Block until all tasks are done. q . join () print ( 'All work completed' ) Terminating queues ¶ When no longer needed, Queue objects can be wound down until empty or terminated immediately with a hard shutdown. Queue... - https://man.mtool.work/python/3.14/library/queue.html
- queue --- 同期キュークラス — Python 3.14.8 ドキュメント 12352
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » queue --- 同期キュークラス テーマ 自動 ライト ダーク | queue --- 同期キュークラス ¶ ソースコード: Lib/queue.py The queue
...module implements multi-producer, multi-consumer queues. It is especially useful in threaded programming when information must be exchanged safely between multiple threads. The Q...ty : int item : Any = field ( compare = False ) class queue. SimpleQueue ¶ Constructor for an unbounded FIFO queue. Simple queues lack advanced functionality such as task tracking. Simple queues are generic over the type of their items. Added in versio...in range ( 30 ): q . put ( item ) # Block until all tasks are done. q . join () print ( 'All work completed' ) Terminating queues ¶ When no longer needed, Queue objects can be wound down until empty or terminated immediately with a hard shutdown. Queue... - https://man.mtool.work/python/3.14/library/queue.html
- 並行実行 — Python 3.14.8 ドキュメント 8516
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 テーマ 自動 ライト ダーク | 並行実行 ¶ この章で記述されているモジュールは、コードの並行実行のサポートを提供します。ツールの
...ケジューラー スケジューラオブジェクト queue --- 同期キュークラス キューオブジェクト Waiting for task completion Terminating queues SimpleQueue オブジェクト contextvars --- コンテキスト変数 コンテキスト変数 マニュアルでのコンテキスト管理 asyncio サポート... - https://man.mtool.work/python/3.14/library/concurrency.html
- multiprocessing --- プロセスベースの並列処理 — Python 3.14.8 ドキュメント 8516
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » multiprocessing --- プロセスベースの並列処理 テーマ 自動 ライト ダーク | multiprocessing --- プロセスベースの並列処理 ¶
...e () p = Process ( target = f , args = ( q ,)) p . start () print ( q . get ()) # prints "[42, None, 'hello']" p . join () Queues are thread and process safe. Any object put into a multiprocessing queue will be serialized. パイプ (Pipe) Pipe() 関数はパ...オーバーフローし、例外を発生させるでしょう。 One difference from other Python queue implementations, is that multiprocessing queues serializes all objects that are put into them using pickle . The object returned by the get method is a re-created object...ば False を返します。マルチスレッディング/マルチプロセシングの特性上、これは信用できません。 May raise an OSError on closed queues. (not guaranteed) full ( ) ¶ キューがいっぱいなら True を、そうでなければ False を返します。マルチスレッディング/マルチプロ... - https://man.mtool.work/python/3.14/library/multiprocessing.html
- 並行実行 — Python 3.14.8 ドキュメント 8516
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 テーマ 自動 ライト ダーク | 並行実行 ¶ この章で記述されているモジュールは、コードの並行実行のサポートを提供します。ツールの
...ケジューラー スケジューラオブジェクト queue --- 同期キュークラス キューオブジェクト Waiting for task completion Terminating queues SimpleQueue オブジェクト contextvars --- コンテキスト変数 コンテキスト変数 マニュアルでのコンテキスト管理 asyncio サポート... - https://man.mtool.work/python/3.14/library/concurrency.html
- multiprocessing --- プロセスベースの並列処理 — Python 3.14.8 ドキュメント 8516
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » multiprocessing --- プロセスベースの並列処理 テーマ 自動 ライト ダーク | multiprocessing --- プロセスベースの並列処理 ¶
...e () p = Process ( target = f , args = ( q ,)) p . start () print ( q . get ()) # prints "[42, None, 'hello']" p . join () Queues are thread and process safe. Any object put into a multiprocessing queue will be serialized. パイプ (Pipe) Pipe() 関数はパ...オーバーフローし、例外を発生させるでしょう。 One difference from other Python queue implementations, is that multiprocessing queues serializes all objects that are put into them using pickle . The object returned by the get method is a re-created object...ば False を返します。マルチスレッディング/マルチプロセシングの特性上、これは信用できません。 May raise an OSError on closed queues. (not guaranteed) full ( ) ¶ キューがいっぱいなら True を、そうでなければ False を返します。マルチスレッディング/マルチプロ... - https://man.mtool.work/python/3.14/library/multiprocessing.html
- キュー — Python 3.14.8 ドキュメント 8287
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » キュー テーマ 自動 ライト ダーク | キュー ¶ ソースコード: Lib/asyncio/queues
...turns True . async get ( ) ¶ キューから要素を削除して返します。キューが空の場合項目が利用可能になるまで待機します。 Raises QueueShutDown if the queue has been shut down and is empty, or if the queue has been shut down immediately. get_nowait ( ) ¶ 直ち...に利用できるアイテムがあるときはそれを、そうでなければ QueueEmpty を返します。 Raises QueueShutDown if the queue has been shut down and is empty. async join ( ) ¶ キューにある全ての要素が取得され、処理されるまでブロ...要素をキューに入力します。キューが満杯の場合、要素を追加する前に空きスロットが利用できるようになるまで待機します。 Raises QueueShutDown if the queue has been shut down. put_nowait ( item ) ¶ ブロックせずにアイテムをキューに追加します。 直ちに利用できる... - https://man.mtool.work/python/3.14/library/asyncio-queue.html
- キュー — Python 3.14.8 ドキュメント 8287
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » キュー テーマ 自動 ライト ダーク | キュー ¶ ソースコード: Lib/asyncio/queues
...turns True . async get ( ) ¶ キューから要素を削除して返します。キューが空の場合項目が利用可能になるまで待機します。 Raises QueueShutDown if the queue has been shut down and is empty, or if the queue has been shut down immediately. get_nowait ( ) ¶ 直ち...に利用できるアイテムがあるときはそれを、そうでなければ QueueEmpty を返します。 Raises QueueShutDown if the queue has been shut down and is empty. async join ( ) ¶ キューにある全ての要素が取得され、処理されるまでブロ...要素をキューに入力します。キューが満杯の場合、要素を追加する前に空きスロットが利用できるようになるまで待機します。 Raises QueueShutDown if the queue has been shut down. put_nowait ( item ) ¶ ブロックせずにアイテムをキューに追加します。 直ちに利用できる... - https://man.mtool.work/python/3.14/library/asyncio-queue.html
- 用語集 — Python 3.14.8 ドキュメント 7865
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » 用語集 テーマ 自動 ライト ダーク | 用語集 ¶ >>> ¶ 対話型 シェルにおけるデフォルトの Python プロンプトです。インタープリターで対話的に実行されるコード例でよく見ら
...o prevent race conditions and ensure thread-safe access to shared data. Alternative design patterns to locks exist such as queues, producer/consumer patterns, and thread-local state. See also deadlock , and reentrant . lock-free ¶ An operation that doe...ock , Semaphore , Condition , Event , and Barrier . Additionally, the queue module provides multi-producer, multi-consumer queues that are especially useful in multithreaded programs. These primitives help prevent race conditions and coordinate thread... - https://man.mtool.work/python/3.14/glossary.html
- 用語集 — Python 3.14.8 ドキュメント 7865
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » 用語集 テーマ 自動 ライト ダーク | 用語集 ¶ >>> ¶ 対話型 シェルにおけるデフォルトの Python プロンプトです。インタープリターで対話的に実行されるコード例でよく見ら
...o prevent race conditions and ensure thread-safe access to shared data. Alternative design patterns to locks exist such as queues, producer/consumer patterns, and thread-local state. See also deadlock , and reentrant . lock-free ¶ An operation that doe...ock , Semaphore , Condition , Event , and Barrier . Additionally, the queue module provides multi-producer, multi-consumer queues that are especially useful in multithreaded programs. These primitives help prevent race conditions and coordinate thread... - https://man.mtool.work/python/3.14/glossary.html