per page, with , order by , clip by
Results of 1 - 10 of about 36 for ThreadPoolExecutor (0.037 sec.)
concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 14311
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi ... gh-level interface 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 ... *kwargs) として実行するようにスケジュールし、呼び出し可能オブジェクトの実行を表現する Future オブジェクトを返します。 with ThreadPoolExecutor ( max_workers = 1 ) as executor : future = executor . submit ( pow , 323 , 1235 ) print ( future . result ()) map ( fn , * ... iterables, using a large value for chunksize can significantly improve performance compared to the default size of 1. With ThreadPoolExecutor and InterpreterPoolExecutor , chunksize has no effect. バージョン 3.5 で変更: chunksize 引数が追加されました。 バージョン ...
https://man.mtool.work/python/3.14/library/concurrent.futures.html
concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 14311
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi ... gh-level interface 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 ... *kwargs) として実行するようにスケジュールし、呼び出し可能オブジェクトの実行を表現する Future オブジェクトを返します。 with ThreadPoolExecutor ( max_workers = 1 ) as executor : future = executor . submit ( pow , 323 , 1235 ) print ( future . result ()) map ( fn , * ... iterables, using a large value for chunksize can significantly improve performance compared to the default size of 1. With ThreadPoolExecutor and InterpreterPoolExecutor , chunksize has no effect. バージョン 3.5 で変更: chunksize 引数が追加されました。 バージョン ...
https://man.mtool.work/python/3.14/library/concurrent.futures.html
並行実行 — Python 3.14.8 ドキュメント 8526
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 テーマ 自動 ライト ダーク | 並行実行 ¶ この章で記述されているモジュールは、コードの並行実行のサポートを提供します。ツールの ... プロセス間で直接アクセス可能な共有メモリ concurrent パッケージ concurrent.futures --- 並列タスク実行 Executor オブジェクト ThreadPoolExecutor ThreadPoolExecutor の例 InterpreterPoolExecutor ProcessPoolExecutor ProcessPoolExecutor の例 Future オブジェクト モジュール ...
https://man.mtool.work/python/3.14/library/concurrency.html
並行実行 — Python 3.14.8 ドキュメント 8526
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 テーマ 自動 ライト ダーク | 並行実行 ¶ この章で記述されているモジュールは、コードの並行実行のサポートを提供します。ツールの ... プロセス間で直接アクセス可能な共有メモリ concurrent パッケージ concurrent.futures --- 並列タスク実行 Executor オブジェクト ThreadPoolExecutor ThreadPoolExecutor の例 InterpreterPoolExecutor ProcessPoolExecutor ProcessPoolExecutor の例 Future オブジェクト モジュール ...
https://man.mtool.work/python/3.14/library/concurrency.html
Event loop — Python 3.14.8 ドキュメント 8225
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Event loop テーマ 自動 ライト ダーク | Event loop ¶ ソースコード: Lib/a ... ecutor ( timeout = None ) ¶ Schedule the closure of the default executor and wait for it to join all of the threads in the ThreadPoolExecutor . Once this method has been called, using the default executor with loop.run_in_executor() will raise a RuntimeError . The ... 同期版です。 注釈 Both getaddrinfo and getnameinfo internally utilize their synchronous versions through the loop's default thread pool executor. When this executor is saturated, these methods may experience delays, which higher-level networking libraries may repor ... sed if executor is None . The default executor can be set by loop.set_default_executor() , otherwise, a concurrent.futures.ThreadPoolExecutor will be lazy-initialized and used by run_in_executor() if needed. 以下はプログラム例です: import asyncio import concurrent ...
https://man.mtool.work/python/3.14/library/asyncio-eventloop.html
Event loop — Python 3.14.8 ドキュメント 8225
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Event loop テーマ 自動 ライト ダーク | Event loop ¶ ソースコード: Lib/a ... ecutor ( timeout = None ) ¶ Schedule the closure of the default executor and wait for it to join all of the threads in the ThreadPoolExecutor . Once this method has been called, using the default executor with loop.run_in_executor() will raise a RuntimeError . The ... 同期版です。 注釈 Both getaddrinfo and getnameinfo internally utilize their synchronous versions through the loop's default thread pool executor. When this executor is saturated, these methods may experience delays, which higher-level networking libraries may repor ... sed if executor is None . The default executor can be set by loop.set_default_executor() , otherwise, a concurrent.futures.ThreadPoolExecutor will be lazy-initialized and used by run_in_executor() if needed. 以下はプログラム例です: import asyncio import concurrent ...
https://man.mtool.work/python/3.14/library/asyncio-eventloop.html
変更履歴 — Python 3.14.8 ドキュメント 7908
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... ping. gh-140578 : Remove outdated sencence in the documentation for multiprocessing , that implied that concurrent.futures.ThreadPoolExecutor did not exist. Core and Builtins ¶ gh-142048 : Fix quadratically increasing garbage collection delays in free-threaded bui ... lse or their __len__ method returns 0) from being ignored by concurrent.futures.ProcessPoolExecutor and concurrent.futures.ThreadPoolExecutor . gh-132106 : logging.handlers.QueueListener now implements the context manager protocol, allowing it to be used in a with ... ing.Process reporting a .exitcode of 1 even on success when using the "fork" start method while using a concurrent.futures.ThreadPoolExecutor . gh-97514 : Authentication was added to the multiprocessing forkserver start method control socket so that only processes ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
What's New In Python 3.2 — Python 3.14.8 ドキュメント 7607
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.2 テーマ 自動 ライト ダーク | What's New In Python 3.2 ¶ 著者 : Raymond Hettinger This article explains the new fea ... が実行を終えた際にリソースが自動的に解放されることを保障出来ます。 以下はファイルコピーを行う 4 つの並列スレッドを実行する、 ThreadPoolExecutor の単純な使用例です: import concurrent.futures , shutil with concurrent . futures . ThreadPoolExecutor ( max_workers = 4 ) ... t ( shutil . copy , 'src3.txt' , 'dest4.txt' ) 参考 PEP 3148 - Futures -- 計算の非同期な実行 PEP written by Brian Quinlan. ThreadPoolExecutor の例 はスレッド並列でウェブページを取得する実例コードです。 ProcessPoolExecutor の実例を 並列で素数計算するコード例 として ...
https://man.mtool.work/python/3.14/whatsnew/3.2.html
What's New In Python 3.9 — Python 3.14.8 ドキュメント 7607
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.9 テーマ 自動 ライト ダーク | What's New In Python 3.9 ¶ 編集者 : Łukasz Langa This article explains the new featur ... 8 ) Added a new coroutine shutdown_default_executor() that schedules a shutdown for the default executor that waits on the ThreadPoolExecutor to finish closing. Also, asyncio.run() has been updated to use the new coroutine . (Contributed by Kyle Stanley in bpo-340 ... em to complete before shutting down the executor. (Contributed by Kyle Stanley in bpo-39349 .) Removed daemon threads from ThreadPoolExecutor and ProcessPoolExecutor . This improves compatibility with subinterpreters and predictability in their shutdown processes. ...
https://man.mtool.work/python/3.14/whatsnew/3.9.html
What's New In Python 3.2 — Python 3.14.8 ドキュメント 7607
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.2 テーマ 自動 ライト ダーク | What's New In Python 3.2 ¶ 著者 : Raymond Hettinger This article explains the new fea ... が実行を終えた際にリソースが自動的に解放されることを保障出来ます。 以下はファイルコピーを行う 4 つの並列スレッドを実行する、 ThreadPoolExecutor の単純な使用例です: import concurrent.futures , shutil with concurrent . futures . ThreadPoolExecutor ( max_workers = 4 ) ... t ( shutil . copy , 'src3.txt' , 'dest4.txt' ) 参考 PEP 3148 - Futures -- 計算の非同期な実行 PEP written by Brian Quinlan. ThreadPoolExecutor の例 はスレッド並列でウェブページを取得する実例コードです。 ProcessPoolExecutor の実例を 並列で素数計算するコード例 として ...
https://man.mtool.work/python/3.14/whatsnew/3.2.html
PREV 1 2 3 4 NEXT