Lines Matching refs:ThreadPoolExecutor
18 :class:`ThreadPoolExecutor`, or separate processes, using
37 with ThreadPoolExecutor(max_workers=1) as executor:
65 :class:`ThreadPoolExecutor`, *chunksize* has no effect.
100 with ThreadPoolExecutor(max_workers=4) as e:
110 ThreadPoolExecutor chapter
113 :class:`ThreadPoolExecutor` is an :class:`Executor` subclass that uses a pool of
131 executor = ThreadPoolExecutor(max_workers=2)
143 executor = ThreadPoolExecutor(max_workers=1)
147 .. class:: ThreadPoolExecutor(max_workers=None, thread_name_prefix='', initializer=None, initargs=(…
161 multiplied by ``5``, assuming that :class:`ThreadPoolExecutor` is often
180 ThreadPoolExecutor now reuses idle worker threads before starting
186 ThreadPoolExecutor Example
205 with concurrent.futures.ThreadPoolExecutor(max_workers=5) as executor:
523 class is raised when one of the workers of a :class:`ThreadPoolExecutor`