Results of 1 - 10 of about 43 for Executor (0.005 sec.)
- concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 13836
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi
...nterface for asynchronously executing callables. The asynchronous execution can be performed with threads, using ThreadPoolExecutor or InterpreterPoolExecutor , or separate processes, using ProcessPoolExecutor . Each implements the same interface, which...is defined by the abstract Executor class. concurrent.futures.Future must not be confused with asyncio.Future , which is designed for use with asyncio tasks a...ASI. このモジュールは WebAssembly では動作しないか、利用不可です。詳しくは、 WebAssembly プラットフォーム を見てください。 Executor オブジェクト ¶ class concurrent.futures. Executor ¶ 非同期呼び出しを実行するためのメソッドを提供する抽象クラスです。このク... - https://man.mtool.work/python/3.14/library/concurrent.futures.html
- concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 13836
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi
...nterface for asynchronously executing callables. The asynchronous execution can be performed with threads, using ThreadPoolExecutor or InterpreterPoolExecutor , or separate processes, using ProcessPoolExecutor . Each implements the same interface, which...is defined by the abstract Executor class. concurrent.futures.Future must not be confused with asyncio.Future , which is designed for use with asyncio tasks a...ASI. このモジュールは WebAssembly では動作しないか、利用不可です。詳しくは、 WebAssembly プラットフォーム を見てください。 Executor オブジェクト ¶ class concurrent.futures. Executor ¶ 非同期呼び出しを実行するためのメソッドを提供する抽象クラスです。このク... - https://man.mtool.work/python/3.14/library/concurrent.futures.html
- Event loop — Python 3.14.8 ドキュメント 10119
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Event loop テーマ 自動 ライト ダーク | Event loop ¶ ソースコード: Lib/a
...op . run_until_complete ( loop . shutdown_asyncgens ()) loop . close () Added in version 3.6. async loop. shutdown_default_executor ( timeout = None ) ¶ Schedule the closure of the default executor and wait for it to join all of the threads in the Thread...PoolExecutor . Once this method has been called, using the default executor with loop.run_in_executor() will raise a RuntimeError . The...timeout parameter specifies the amount of time (in float seconds) the executor will be given to finish joining. With the default, None , the executor is allowed an unlimited amount of time. If the time... - https://man.mtool.work/python/3.14/library/asyncio-eventloop.html
- Event loop — Python 3.14.8 ドキュメント 10011
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Event loop テーマ 自動 ライト ダーク | Event loop ¶ ソースコード: Lib/a
...op . run_until_complete ( loop . shutdown_asyncgens ()) loop . close () Added in version 3.6. async loop. shutdown_default_executor ( timeout = None ) ¶ Schedule the closure of the default executor and wait for it to join all of the threads in the Thread...PoolExecutor . Once this method has been called, using the default executor with loop.run_in_executor() will raise a RuntimeError . The...timeout parameter specifies the amount of time (in float seconds) the executor will be given to finish joining. With the default, None , the executor is allowed an unlimited amount of time. If the time... - https://man.mtool.work/python/3.14/library/asyncio-eventloop.html
- Runners — Python 3.14.8 ドキュメント 8946
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Runners テーマ 自動 ライト ダーク | Runners ¶ ソースコード: Lib/asyncio
...n runs the awaitable, taking care of managing the asyncio event loop, finalizing asynchronous generators , and closing the executor. この関数は、同じスレッドで他の非同期イベントループが実行中のときは呼び出せません。 debug が True の場合、イベントループは...figure the event loop instead of policies. Passing asyncio.EventLoop allows running asyncio without the policy system. The executor is given a timeout duration of 5 minutes to shutdown. If the executor hasn't finished within that duration, a warning is e...mitted and the executor is closed. 以下はプログラム例です: async def main (): await asyncio . sleep ( 1 ) print ( 'hello' ) asyncio . run ( main (... - https://man.mtool.work/python/3.14/library/asyncio-runner.html
- Runners — Python 3.14.8 ドキュメント 8946
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Runners テーマ 自動 ライト ダーク | Runners ¶ ソースコード: Lib/asyncio
...n runs the awaitable, taking care of managing the asyncio event loop, finalizing asynchronous generators , and closing the executor. この関数は、同じスレッドで他の非同期イベントループが実行中のときは呼び出せません。 debug が True の場合、イベントループは...figure the event loop instead of policies. Passing asyncio.EventLoop allows running asyncio without the policy system. The executor is given a timeout duration of 5 minutes to shutdown. If the executor hasn't finished within that duration, a warning is e...mitted and the executor is closed. 以下はプログラム例です: async def main (): await asyncio . sleep ( 1 ) print ( 'hello' ) asyncio . run ( main (... - https://man.mtool.work/python/3.14/library/asyncio-runner.html
- 低水準の API インデックス — Python 3.14.8 ドキュメント 7867
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » 低水準の API インデックス テーマ 自動 ライト ダーク | 低水準の API イン
...を実行します。 loop.call_at() 与えられた時刻に コールバックを実行します。 Thread/Interpreter/Process Pool await loop.run_in_executor() CPUバウンドなブロッキング関数、またはその他のブロッキング関数を concurrent.futures 実行オブジェクト (executor) 上で実行し...ます。 loop.set_default_executor() loop.run_in_executor() のデフォルト実行オブジェクト (executor) を設定します。 タスクとフューチャー loop.create_future()... - https://man.mtool.work/python/3.14/library/asyncio-llapi-index.html
- 低水準の API インデックス — Python 3.14.8 ドキュメント 7867
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » 低水準の API インデックス テーマ 自動 ライト ダーク | 低水準の API イン
...を実行します。 loop.call_at() 与えられた時刻に コールバックを実行します。 Thread/Interpreter/Process Pool await loop.run_in_executor() CPUバウンドなブロッキング関数、またはその他のブロッキング関数を concurrent.futures 実行オブジェクト (executor) 上で実行し...ます。 loop.set_default_executor() loop.run_in_executor() のデフォルト実行オブジェクト (executor) を設定します。 タスクとフューチャー loop.create_future()... - https://man.mtool.work/python/3.14/library/asyncio-llapi-index.html
- asyncio での開発 — Python 3.14.8 ドキュメント 7666
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio での開発 テーマ 自動 ライト ダーク | asyncio での開発 ¶ 非同期プ
...future . result () シグナルの処理を行うには、イベントループはメインスレッド内で実行しなければなりません。 The loop.run_in_executor() method can be used with a concurrent.futures.ThreadPoolExecutor or InterpreterPoolExecutor to execute blocking code in a...ブプロセス API はイベントループからプロセスを開始したりプロセスと通信したりする方法を提供します。 最後に、前述の loop.run_in_executor() メソッドは concurrent.futures.ProcessPoolExecutor とともに使用することで、別のプロセス内でコードを実行することもできます...CPU 負荷の高い関数を1秒実行したとすると、並行に処理されている全ての非同期タスクと I/O 処理は1秒遅れる可能性があります。 An executor can be used to run a task in a different thread, including in a different interpreter, or even in a different process to a... - https://man.mtool.work/python/3.14/library/asyncio-dev.html
- asyncio での開発 — Python 3.14.8 ドキュメント 7666
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio での開発 テーマ 自動 ライト ダーク | asyncio での開発 ¶ 非同期プ
...future . result () シグナルの処理を行うには、イベントループはメインスレッド内で実行しなければなりません。 The loop.run_in_executor() method can be used with a concurrent.futures.ThreadPoolExecutor or InterpreterPoolExecutor to execute blocking code in a...ブプロセス API はイベントループからプロセスを開始したりプロセスと通信したりする方法を提供します。 最後に、前述の loop.run_in_executor() メソッドは concurrent.futures.ProcessPoolExecutor とともに使用することで、別のプロセス内でコードを実行することもできます...CPU 負荷の高い関数を1秒実行したとすると、並行に処理されている全ての非同期タスクと I/O 処理は1秒遅れる可能性があります。 An executor can be used to run a task in a different thread, including in a different interpreter, or even in a different process to a... - https://man.mtool.work/python/3.14/library/asyncio-dev.html