Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 6 of about 6 for Executor (0.019 sec.)
17.4. concurrent.futures -- 並列タスク実行 — Python 3.6.5 ドキュメント 13179
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... インタフェースを提供します。 非同期実行は ThreadPoolExecutor を用いてスレッドで実行することも、 ProcessPoolExec ... いて別々のプロセスで実行することもできます. どちらも Executor 抽象クラスで定義された同じインターフェースを実装し ... ます。 17.4.1. Executor オブジェクト ¶ class concurrent.futures. Executor ... する Future オブジェクトを返します。 with ThreadPoolExecutor ( max_workers = 1 ) as executor : future = executo ...
https://man.plustar.jp/python/library/concurrent.futures.html - [similar]
18.5.1. 基底イベントループ — Python 3.6.5 ドキュメント 8883
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ます。 参考 signal モジュール。 18.5.1.13. 実行者 ¶ Executor (スレッドプールまたはプロセスプール) 内の関数を呼び ... ベントループは一つのスレッドプール実行者 ( ThreadPoolExecutor ) を使用します。 coroutine AbstractEventLoop. run_ ... in_executor ( executor , func , *args ) ¶ 特定の実行者で func ... を呼び出す準備をします。 引数 executorExecutor のインスタンスでなければなりません。 e ...
https://man.plustar.jp/python/library/asyncio-eventloop.html - [similar]
18.5.9. asyncio での開発 — Python 3.6.5 ドキュメント 8280
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... the result with a timeout AbstractEventLoop.run_in_executor() メソッドをスレッドプール実行者とともに使用するこ ... スでタスクを実行できます。 AbstractEventLoop.run_in_executor() メソッドを参照してください。 参考 遅延呼び出し 節 ...
https://man.plustar.jp/python/library/asyncio-dev.html - [similar]
17. 並行実行 — Python 3.6.5 ドキュメント 8207
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 17.4. concurrent.futures -- 並列タスク実行 17.4.1. Executor オブジェクト 17.4.2. ThreadPoolExecutor 17.4.2.1. ... ThreadPoolExecutor の例 17.4.3. ProcessPoolExecutor 17.4.3.1. Process ... PoolExecutor の例 17.4.4. Future オブジェクト 17.4.5. モジュール ...
https://man.plustar.jp/python/library/concurrency.html - [similar]
What's New In Python 3.2 — Python 3.6.5 ドキュメント 8207
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... 基本となるのが、呼び出しの実行と管理のための 2 つの executor クラスです。これら executor の目標は、これまでにも ... 理されるように、複数コンポーネントをまたがって単一の executor を共有すべきです。そうしておけば、個々のコンポーネ ... 持つ場合に起こる設計の難題は解決出来ます。 どちらの executor クラスとも 3 つのメソッドを持つ共通インターフェイス ... ピーを行う 4 つの並列スレッドを実行する、 ThreadPoolExecutor の単純な使用例です: import concurrent.futures , sh ...
https://man.plustar.jp/python/whatsnew/3.2.html - [similar]
What's New In Python 3.5 — Python 3.6.5 ドキュメント 8042
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... s Kluyver in bpo-21338 .) concurrent.futures ¶ The Executor.map() method now accepts a chunksize argument to a ... ng of tasks to improve performance when ProcessPoolExecutor() is used. (Contributed by Dan O'Reilly in bpo-112 ... 71 .) The number of workers in the ThreadPoolExecutor constructor is optional now. The default value is ...
https://man.plustar.jp/python/whatsnew/3.5.html - [similar]
PREV 1 NEXT